mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Increased interval and ping packet timeout by 1 second to try to
fix TCP issues.
This commit is contained in:
parent
f4e050f377
commit
5f26ee201c
|
@ -39,7 +39,7 @@
|
|||
#define PACKET_ID_FRIEND_REQUESTS 18
|
||||
|
||||
/* Interval between the sending of ping packets. */
|
||||
#define FRIEND_PING_INTERVAL 6
|
||||
#define FRIEND_PING_INTERVAL 7
|
||||
|
||||
/* If no packets are received from friend in this time interval, kill the connection. */
|
||||
#define FRIEND_CONNECTION_TIMEOUT (FRIEND_PING_INTERVAL * 3)
|
||||
|
|
Loading…
Reference in New Issue
Block a user