diff --git a/prefect_gcp/cloud_run.py b/prefect_gcp/cloud_run.py index fd4c0ba..09ba240 100644 --- a/prefect_gcp/cloud_run.py +++ b/prefect_gcp/cloud_run.py @@ -291,7 +291,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 " diff --git a/prefect_gcp/workers/cloud_run.py b/prefect_gcp/workers/cloud_run.py index e1f0263..22152a6 100644 --- a/prefect_gcp/workers/cloud_run.py +++ b/prefect_gcp/workers/cloud_run.py @@ -276,7 +276,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 " @@ -497,7 +497,7 @@ class CloudRunWorkerVariables(BaseVariables): 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 Cloud Run Job state changes."