Client cache: Update the default values timing issues (#4203)

This commit is contained in:
Todd authored and Johan Brandhorst-Satzkorn committed 2024-01-05 07:43:21 -08:00
1 parent 0715003945
commit 36a8c6e289
1 file changed
+2 -2
@@ -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