mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 09:29:16 +02:00
move constant to the comment that will use it
This commit is contained in:
parent
c2fe688740
commit
b69d850c8e
1 changed files with 1 additions and 1 deletions
|
@ -451,9 +451,9 @@ void NodeList::sendDomainServerCheckIn() {
|
|||
|
||||
// Send duplicate check-ins in the exponentially increasing sequence 1, 1, 2, 4, ...
|
||||
static const int MAX_CHECKINS_TOGETHER = 20;
|
||||
static const int WARNING_CHECKIN_COUNT = 2;
|
||||
int outstandingCheckins = _domainHandler.getCheckInPacketsSinceLastReply();
|
||||
/*
|
||||
static const int WARNING_CHECKIN_COUNT = 2;
|
||||
if (outstandingCheckins > WARNING_CHECKIN_COUNT) {
|
||||
// We may be headed for a disconnect, as we've written two DomainListRequests without getting anything back.
|
||||
// In some cases, we've found that nothing is going out on the wire despite not getting any errors from
|
||||
|
|
Loading…
Reference in a new issue