Commit 45a1ec73 authored by Daniel Smith's avatar Daniel Smith

Lengthen delay

parent b6a775ca
...@@ -469,7 +469,7 @@ func (c *cacheWatcher) stop() { ...@@ -469,7 +469,7 @@ func (c *cacheWatcher) stop() {
func (c *cacheWatcher) add(event watchCacheEvent) { func (c *cacheWatcher) add(event watchCacheEvent) {
select { select {
case c.input <- event: 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. // This means that we couldn't send event to that watcher.
// Since we don't want to blockin on it infinitely, // Since we don't want to blockin on it infinitely,
// we simply terminate it. // we simply terminate it.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment