Naut/src
ookami125 096535292d swarm: re-announce promptly when the swarm is starved
The peer top-up loop re-announced to trackers only at the full advertised
interval (~30 min), so a torrent that dropped to a handful of peers would
sit there for up to half an hour with only the 5-minute DHT refresh to
help — looking like the re-announce system was dead.

Now, when fewer than LOW_PEER_THRESHOLD (10) peers are connected, the next
tracker announce is scheduled at the tracker's min_interval floor (never
below 60s) instead of the full interval, so a thin swarm actually tries to
recover. Once peers recover the full interval is used again. Capture the
tracker's min_interval (was being dropped) to stay announce-compliant.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 20:04:24 -04:00
..
bencode Initial commit: Naut-Torrent — from-scratch 10 GbE BitTorrent client 2026-06-15 12:12:00 -04:00
core nautd: block adding a torrent that would overlap existing data 2026-06-22 01:01:50 -04:00
crypto Initial commit: Naut-Torrent — from-scratch 10 GbE BitTorrent client 2026-06-15 12:12:00 -04:00
discovery swarm: re-announce promptly when the swarm is starved 2026-06-24 20:04:24 -04:00
metainfo webui: replace nautctl web server with a loadable plugin 2026-06-17 00:21:48 -04:00
net webui: handle RSS link torrent URLs 2026-06-23 02:12:53 -04:00
peer nautd/webui: scripting, labels, settings, set-location, pause fix 2026-06-21 23:19:41 -04:00
piece nautd/webui: scripting, labels, settings, set-location, pause fix 2026-06-21 23:19:41 -04:00
platform Initial commit: Naut-Torrent — from-scratch 10 GbE BitTorrent client 2026-06-15 12:12:00 -04:00
plugin webui: replace nautctl web server with a loadable plugin 2026-06-17 00:21:48 -04:00
rpc Initial commit: Naut-Torrent — from-scratch 10 GbE BitTorrent client 2026-06-15 12:12:00 -04:00
script nautd/webui: scripting, labels, settings, set-location, pause fix 2026-06-21 23:19:41 -04:00
session Initial commit: Naut-Torrent — from-scratch 10 GbE BitTorrent client 2026-06-15 12:12:00 -04:00
storage nautd/webui: scripting, labels, settings, set-location, pause fix 2026-06-21 23:19:41 -04:00