mirror of https://github.com/status-im/consul.git
agent: increase timer for blocking cache endpoints
This commit is contained in:
parent
b4ba31c61b
commit
aaca1fbcf5
|
@ -2723,7 +2723,7 @@ func (a *Agent) registerCache() {
|
||||||
}, &cache.RegisterOptions{
|
}, &cache.RegisterOptions{
|
||||||
// Maintain a blocking query, retry dropped connections quickly
|
// Maintain a blocking query, retry dropped connections quickly
|
||||||
Refresh: true,
|
Refresh: true,
|
||||||
RefreshTimer: 0,
|
RefreshTimer: 3 * time.Second,
|
||||||
RefreshTimeout: 10 * time.Minute,
|
RefreshTimeout: 10 * time.Minute,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -2733,7 +2733,7 @@ func (a *Agent) registerCache() {
|
||||||
}, &cache.RegisterOptions{
|
}, &cache.RegisterOptions{
|
||||||
// Maintain a blocking query, retry dropped connections quickly
|
// Maintain a blocking query, retry dropped connections quickly
|
||||||
Refresh: true,
|
Refresh: true,
|
||||||
RefreshTimer: 0,
|
RefreshTimer: 3 * time.Second,
|
||||||
RefreshTimeout: 10 * time.Minute,
|
RefreshTimeout: 10 * time.Minute,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -2742,7 +2742,7 @@ func (a *Agent) registerCache() {
|
||||||
}, &cache.RegisterOptions{
|
}, &cache.RegisterOptions{
|
||||||
// Maintain a blocking query, retry dropped connections quickly
|
// Maintain a blocking query, retry dropped connections quickly
|
||||||
Refresh: true,
|
Refresh: true,
|
||||||
RefreshTimer: 0,
|
RefreshTimer: 3 * time.Second,
|
||||||
RefreshTimeout: 10 * time.Minute,
|
RefreshTimeout: 10 * time.Minute,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue