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

Allow the new 24hr max timeout for CloudRunJobs #217

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: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- The max allowed timeout for CloudRunJobs is now 24hrs.

### Deprecated

### Removed
Expand Down
2 changes: 1 addition & 1 deletion prefect_gcp/cloud_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,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