less aggressive DHT announcement

This commit is contained in:
orignal
2026-09-29 21:02:42 -04:00
parent 5bf161e29c
commit 2d8efa8d0d
+2 -2
View File
@@ -68,8 +68,8 @@ namespace torrents
constexpr uint16_t TORRENT_PORT = 6881; // not used by required by protocol
constexpr int MIN_TRACKER_REQUESTS_INTERVAL = 15*1000; // in milliseconds
constexpr int MAX_TRACKER_REQUESTS_INTERVAL = 24*3600*1000; // in milliseconds
constexpr int DHT_TORRENT_UPDATE_INTERVAL = 150; // in seconds
constexpr int DHT_TORRENT_UPDATE_INTERVAL_VARIANCE = 30; // in seconds
constexpr int DHT_TORRENT_UPDATE_INTERVAL = 340; // in seconds
constexpr int DHT_TORRENT_UPDATE_INTERVAL_VARIANCE = 70; // in seconds
constexpr int DHT_TORRENT_INITIAL_UPDATE_INTERVAL = 100; // in seconds
constexpr size_t PEER_CONNECTION_RECEIVE_BUFFER_SIZE = 65535;
constexpr int PEER_CONNECTION_MAX_IDLE = 3600; // in seconds