Skip to content

Commit

Permalink
reduce ttl defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Goutham Kannan committed Mar 20, 2024
1 parent 5263b20 commit e2ca642
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploymenthooks.apps.mx.com.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3604,7 +3604,7 @@ spec:
type: object
type: object
ttlSecondsAfterFinished:
default: 259200
default: 86400
format: int32
nullable: true
type: integer
Expand Down
2 changes: 1 addition & 1 deletion docbot-crd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub use pod_template::PodTemplateService;

/// The default job ttl is 72 hours.
fn default_job_ttl_seconds_after_finished() -> Option<i32> {
Some(259200)
Some(86400)
}

/// Struct corresponding to the Specification (`spec`) part of the `DeploymentHook` resource,
Expand Down

0 comments on commit e2ca642

Please sign in to comment.