Silence primary pool errors if failover active.
This commit is contained in:
parent
41e8c4f887
commit
2ddac1ce68
7 changed files with 22 additions and 15 deletions
|
@ -157,6 +157,7 @@ void FailoverStrategy::add(const Pool &pool)
|
|||
{
|
||||
Client *client = new Client((int) m_pools.size(), Platform::userAgent(), this);
|
||||
client->setPool(pool);
|
||||
client->setRetries(m_retries);
|
||||
client->setRetryPause(m_retryPause * 1000);
|
||||
client->setQuiet(m_quiet);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue