From 2d8efa8d0d1bed36ffc78fae6bc58c6607a8f4b0 Mon Sep 17 00:00:00 2001 From: orignal Date: Tue, 29 Sep 2026 21:02:42 -0400 Subject: [PATCH] less aggressive DHT announcement --- libi2pd_client/Torrents.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libi2pd_client/Torrents.h b/libi2pd_client/Torrents.h index 648c9d4a..3c6b2b88 100644 --- a/libi2pd_client/Torrents.h +++ b/libi2pd_client/Torrents.h @@ -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