diff options
-rw-r--r-- | toxcore/friend_connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/friend_connection.h b/toxcore/friend_connection.h index 4f8cbf41..ef56fd94 100644 --- a/toxcore/friend_connection.h +++ b/toxcore/friend_connection.h | |||
@@ -39,7 +39,7 @@ | |||
39 | #define PACKET_ID_FRIEND_REQUESTS 18 | 39 | #define PACKET_ID_FRIEND_REQUESTS 18 |
40 | 40 | ||
41 | /* Interval between the sending of ping packets. */ | 41 | /* Interval between the sending of ping packets. */ |
42 | #define FRIEND_PING_INTERVAL 6 | 42 | #define FRIEND_PING_INTERVAL 7 |
43 | 43 | ||
44 | /* If no packets are received from friend in this time interval, kill the connection. */ | 44 | /* If no packets are received from friend in this time interval, kill the connection. */ |
45 | #define FRIEND_CONNECTION_TIMEOUT (FRIEND_PING_INTERVAL * 3) | 45 | #define FRIEND_CONNECTION_TIMEOUT (FRIEND_PING_INTERVAL * 3) |