Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

update Cloud Run timeout parameters #256

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion prefect_gcp/cloud_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ class CloudRunJob(Infrastructure):
timeout: Optional[int] = Field(
default=600,
gt=0,
le=3600,
le=86400,
title="Job Timeout",
description=(
"The length of time that Prefect will wait for a Cloud Run Job to complete "
Expand Down
2 changes: 1 addition & 1 deletion prefect_gcp/workers/cloud_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class CloudRunWorkerJobConfiguration(BaseJobConfiguration):
timeout: Optional[int] = Field(
default=600,
gt=0,
le=3600,
le=86400,
title="Job Timeout",
description=(
"The length of time that Prefect will wait for a Cloud Run Job to complete "
Expand Down
Loading