mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-24 14:12:18 +00:00
Merge pull request #64548 from hzxuzhonghu/patch-1
Automatic merge from submit-queue (batch tested with PRs 64142, 64426, 62910, 63942, 64548). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. remove inaccurate comment about watch timeout when watch timeout, the tcp connection does not close, it is reused for another new watch. But this makes users misunderstanding. **Release note**: ```release-note NONE ``` Kubernetes-commit: d0a2bfd22e8c129e0a156a4304a62e3563dc6a59
This commit is contained in:
commit
157b02554c
2
tools/cache/reflector.go
vendored
2
tools/cache/reflector.go
vendored
@ -76,8 +76,6 @@ type Reflector struct {
|
||||
var (
|
||||
// We try to spread the load on apiserver by setting timeouts for
|
||||
// watch requests - it is random in [minWatchTimeout, 2*minWatchTimeout].
|
||||
// However, it can be modified to avoid periodic resync to break the
|
||||
// TCP connection.
|
||||
minWatchTimeout = 5 * time.Minute
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user