From 713d5aa88ebe4af6cc33e6180e00eb1cad9c79cc Mon Sep 17 00:00:00 2001 From: Gaius Date: Mon, 21 Oct 2024 21:11:54 +0800 Subject: [PATCH] feat: change job gc interval in manager (#3591) Signed-off-by: Gaius --- manager/config/constants.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manager/config/constants.go b/manager/config/constants.go index bc0adf8dddb..8738c1bec03 100644 --- a/manager/config/constants.go +++ b/manager/config/constants.go @@ -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