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
|
@ -57,7 +57,7 @@ Network::Network(xmrig::Controller *controller) :
|
|||
m_strategy = new FailoverStrategy(pools, controller->config()->retryPause(), controller->config()->retries(), this);
|
||||
}
|
||||
else {
|
||||
m_strategy = new SinglePoolStrategy(pools.front(), controller->config()->retryPause(), this);
|
||||
m_strategy = new SinglePoolStrategy(pools.front(), controller->config()->retryPause(), controller->config()->retries(), this);
|
||||
}
|
||||
|
||||
if (controller->config()->donateLevel() > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue