Basic failover support.

This commit is contained in:
XMRig 2017-06-07 09:07:31 +03:00
parent 387524e1c5
commit c31ea00399
6 changed files with 41 additions and 7 deletions

View file

@ -33,7 +33,7 @@ Client::Client(int id, IClientListener *listener) :
m_host(nullptr),
m_listener(listener),
m_id(id),
m_retryPause(2000),
m_retryPause(5000),
m_failures(0),
m_sequence(1),
m_recvBufPos(0),