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
parent c503583046
commit 8419ca87f9

View file

@ -43,7 +43,7 @@
#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_SCAN_INTERVAL = 2; // seconds