agent: increase timer for blocking cache endpoints

This commit is contained in:
Mitchell Hashimoto 2018-05-04 09:14:40 -07:00
parent b4ba31c61b
commit aaca1fbcf5
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 3 additions and 3 deletions

View File

@ -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,
})
}