mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-08 23:15:53 -05:00
changed heart beat limit to a larger value. Apparently too tight a value causes disconnections due to packets being stuck sometimes (old bug)
This commit is contained in:
parent
c14c240f07
commit
26af7c900e
@ -153,7 +153,7 @@ int pqiperson::tick()
|
||||
#endif
|
||||
|
||||
//if lastHeartbeatReceived is 0, it might be not activated so don't do a net reset.
|
||||
if ( active && time(NULL) > lastHeartbeatReceived + HEARTBEAT_REPEAT_TIME * 5)
|
||||
if ( active && time(NULL) > lastHeartbeatReceived + HEARTBEAT_REPEAT_TIME * 20)
|
||||
{
|
||||
int ageLastIncoming = time(NULL) - activepqi->getLastIncomingTS();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user