From 0289216183724d53039a8853fabdadd4600f372e Mon Sep 17 00:00:00 2001 From: Hironori Shiina Date: Tue, 10 Sep 2024 10:15:41 +0200 Subject: [PATCH] Revert "Update global cache timestamp more frequently" This reverts commit dbc47341fabfc6dcd6b6bc0854f0a59ce4095827. --- pkg/kubelet/pleg/evented.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/pleg/evented.go b/pkg/kubelet/pleg/evented.go index eb5cc1d26c7..90e880f0dc6 100644 --- a/pkg/kubelet/pleg/evented.go +++ b/pkg/kubelet/pleg/evented.go @@ -34,7 +34,7 @@ import ( // The frequency with which global timestamp of the cache is to // is to be updated periodically. If pod workers get stuck at cache.GetNewerThan // call, after this period it will be unblocked. -const globalCacheUpdatePeriod = 1 * time.Second +const globalCacheUpdatePeriod = 5 * time.Second var ( eventedPLEGUsage = false