From 453bb17c3cde692b9a0f7f89fcfd9b9687a988a5 Mon Sep 17 00:00:00 2001 From: Joe Beda Date: Wed, 19 Oct 2016 16:09:27 -0700 Subject: [PATCH] Remove constants that are no longer referenced --- pkg/client/cache/reflector.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/client/cache/reflector.go b/pkg/client/cache/reflector.go index 745ee76240f..5410d29a28c 100644 --- a/pkg/client/cache/reflector.go +++ b/pkg/client/cache/reflector.go @@ -74,12 +74,6 @@ var ( // However, it can be modified to avoid periodic resync to break the // TCP connection. minWatchTimeout = 5 * time.Minute - // If we are within 'forceResyncThreshold' from the next planned resync - // and are just before issuing Watch(), resync will be forced now. - forceResyncThreshold = 3 * time.Second - // We try to set timeouts for Watch() so that we will finish about - // than 'timeoutThreshold' from next planned periodic resync. - timeoutThreshold = 1 * time.Second ) // NewNamespaceKeyedIndexerAndReflector creates an Indexer and a Reflector