mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 21:12:07 +00:00
Lengthen delay
This commit is contained in:
parent
b6a775ca50
commit
45a1ec73bb
@ -469,7 +469,7 @@ func (c *cacheWatcher) stop() {
|
||||
func (c *cacheWatcher) add(event watchCacheEvent) {
|
||||
select {
|
||||
case c.input <- event:
|
||||
case <-time.After(time.Second):
|
||||
case <-time.After(5 * time.Second):
|
||||
// This means that we couldn't send event to that watcher.
|
||||
// Since we don't want to blockin on it infinitely,
|
||||
// we simply terminate it.
|
||||
|
Loading…
Reference in New Issue
Block a user