Skip to content

Commit

Permalink
feat: change job gc interval in manager (#3591)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Oct 21, 2024
1 parent 395fc6c commit 713d5aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manager/config/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ const (
DefaultJobRateLimitQuantum = 10

// DefaultJobGCInterval is the default interval for gc job.
DefaultJobGCInterval = 24 * time.Hour
DefaultJobGCInterval = 6 * time.Hour

// DefaultJobGCTTL is the default ttl for job.
DefaultJobGCTTL = 24 * time.Hour
DefaultJobGCTTL = 12 * time.Hour

// DefaultJobPreheatRegistryTimeout is the default timeout for requesting registry to get token and manifest.
DefaultJobPreheatRegistryTimeout = 1 * time.Minute
Expand Down

0 comments on commit 713d5aa

Please sign in to comment.