mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 13:15:33 +08:00
Remove disconnect on retry exceed
This commit is contained in:
@@ -605,12 +605,6 @@ SecureSocket::checkResult(int status, int& retry)
|
||||
break;
|
||||
}
|
||||
|
||||
// If the retry max would exceed the allowed, treat it as a fatal error
|
||||
if (retry > s_maxRetry) {
|
||||
LOG((CLOG_DEBUG "retry exceeded %f sec", s_maxRetry * s_retryDelay));
|
||||
isFatal(true);
|
||||
}
|
||||
|
||||
if (isFatal()) {
|
||||
retry = 0;
|
||||
showError();
|
||||
|
||||
Reference in New Issue
Block a user