mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 08:17:26 +00:00
Remove constants that are no longer referenced
This commit is contained in:
parent
4b3d6b4bde
commit
453bb17c3c
6
pkg/client/cache/reflector.go
vendored
6
pkg/client/cache/reflector.go
vendored
@ -74,12 +74,6 @@ var (
|
|||||||
// However, it can be modified to avoid periodic resync to break the
|
// However, it can be modified to avoid periodic resync to break the
|
||||||
// TCP connection.
|
// TCP connection.
|
||||||
minWatchTimeout = 5 * time.Minute
|
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
|
// NewNamespaceKeyedIndexerAndReflector creates an Indexer and a Reflector
|
||||||
|
Loading…
Reference in New Issue
Block a user