Skip to content

Commit b131d5e

Browse files
committed
feat: change job gc interval in manager
Signed-off-by: Gaius <gaius.qi@gmail.com>
1 parent 395fc6c commit b131d5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manager/config/constants.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ const (
9797
DefaultJobRateLimitQuantum = 10
9898

9999
// DefaultJobGCInterval is the default interval for gc job.
100-
DefaultJobGCInterval = 24 * time.Hour
100+
DefaultJobGCInterval = 6 * time.Hour
101101

102102
// DefaultJobGCTTL is the default ttl for job.
103-
DefaultJobGCTTL = 24 * time.Hour
103+
DefaultJobGCTTL = 12 * time.Hour
104104

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

0 commit comments

Comments
 (0)