From 36a8c6e289e9caa7a01b78e1ebe3148a06a21756 Mon Sep 17 00:00:00 2001 From: Todd Date: Fri, 22 Dec 2023 11:51:15 -0800 Subject: [PATCH] Client cache: Update the default values timing issues (#4203) --- internal/clientcache/internal/daemon/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/clientcache/internal/daemon/server.go b/internal/clientcache/internal/daemon/server.go index ef1bb94f7..56e98106d 100644 --- a/internal/clientcache/internal/daemon/server.go +++ b/internal/clientcache/internal/daemon/server.go @@ -35,10 +35,10 @@ const ( // DefaultSearchStaleness is the default amount of time that can pass before // a search request causes a blocking refresh to happen for the resources // being searched for. - DefaultSearchStaleness = 60 * time.Second + DefaultSearchStaleness = 30 * time.Second // DefaultSearchRefreshTimeout is the default amount of time that a refresh // that is blocking a search request can run before timing out. - DefaultSearchRefreshTimeout = 1 * time.Second + DefaultSearchRefreshTimeout = 7 * time.Second ) // Commander is an interface that provides a way to get an apiClient