1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Merge pull request #6898 from Chocobo1/timeout

Fix keep alive duration was wrongly in milliseconds instead of seconds
This commit is contained in:
sledgehammer999 2017-06-07 18:02:37 +03:00 committed by GitHub
commit 4a1ed9ff0e

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