increased value for forced reconnection on rejects
This commit is contained in:
parent
bfca87b84c
commit
27285b851f
1 changed files with 2 additions and 2 deletions
|
@ -333,8 +333,8 @@ public:
|
|||
reject_counter = 0;
|
||||
else
|
||||
reject_counter++;
|
||||
if (reject_counter >= 3) {
|
||||
std::cout << "too many rejects, forcing reconnect." << std::endl;
|
||||
if (reject_counter >= 4) {
|
||||
std::cout << "too many rejects (4), forcing reconnect." << std::endl;
|
||||
socket->close();
|
||||
done = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue