From aaca1fbcf53acb5e858c45d20818681803d1fe2c Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 4 May 2018 09:14:40 -0700 Subject: [PATCH] agent: increase timer for blocking cache endpoints --- agent/agent.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agent/agent.go b/agent/agent.go index e5c35c94e4..9c74b37605 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -2723,7 +2723,7 @@ func (a *Agent) registerCache() { }, &cache.RegisterOptions{ // Maintain a blocking query, retry dropped connections quickly Refresh: true, - RefreshTimer: 0, + RefreshTimer: 3 * time.Second, RefreshTimeout: 10 * time.Minute, }) @@ -2733,7 +2733,7 @@ func (a *Agent) registerCache() { }, &cache.RegisterOptions{ // Maintain a blocking query, retry dropped connections quickly Refresh: true, - RefreshTimer: 0, + RefreshTimer: 3 * time.Second, RefreshTimeout: 10 * time.Minute, }) @@ -2742,7 +2742,7 @@ func (a *Agent) registerCache() { }, &cache.RegisterOptions{ // Maintain a blocking query, retry dropped connections quickly Refresh: true, - RefreshTimer: 0, + RefreshTimer: 3 * time.Second, RefreshTimeout: 10 * time.Minute, }) }