Browse Source

Fix KEEP_ALIVE_DURATION value

I intended to specify 7 seconds, which should be 7000 milliseconds
adaptive-webui-19844
Chocobo1 8 years ago
parent
commit
8419ca87f9
  1. 2
      src/base/http/server.cpp

2
src/base/http/server.cpp

@ -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

Loading…
Cancel
Save