Fix KEEP_ALIVE_DURATION value

I intended to specify 7 seconds, which should be 7000 milliseconds
This commit is contained in:
Chocobo1 2017-06-03 22:25:44 +08:00 committed by sledgehammer999
parent c4b12b854e
commit bf6f103142
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -43,7 +43,7 @@
#include "connection.h" #include "connection.h"
static const int KEEP_ALIVE_DURATION = 7; // seconds static const int KEEP_ALIVE_DURATION = 7 * 1000; // milliseconds
static const int CONNECTIONS_LIMIT = 500; static const int CONNECTIONS_LIMIT = 500;
static const int CONNECTIONS_SCAN_INTERVAL = 2; // seconds static const int CONNECTIONS_SCAN_INTERVAL = 2; // seconds