Browse Source

Merge pull request #6898 from Chocobo1/timeout

Fix keep alive duration was wrongly in milliseconds instead of seconds
adaptive-webui-19844
sledgehammer999 8 years ago committed by GitHub
parent
commit
4a1ed9ff0e
  1. 2
      src/base/http/server.cpp

2
src/base/http/server.cpp

@ -43,7 +43,7 @@ @@ -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

Loading…
Cancel
Save