Lengthen delay

This commit is contained in:
Daniel Smith 2015-11-06 13:03:58 -08:00
parent b6a775ca50
commit 45a1ec73bb

View File

@ -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.