From 1e7248b330bde4c70528ccf91535391e19294dc3 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sat, 7 Nov 2026 16:54:36 +0100 Subject: Add a knob to help reducing memory consumption. This time: empty torrents may expire sooner --- man5/opentracker.conf.5 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'man5') diff --git a/man5/opentracker.conf.5 b/man5/opentracker.conf.5 index 472d83b..cc4c942 100644 --- a/man5/opentracker.conf.5 +++ b/man5/opentracker.conf.5 @@ -108,6 +108,13 @@ Specifies the user opentracker will setuid to after binding to potentially privi .Pp .It tracker.redirect_url Ar URL Specifies the URL opentracker will redirect to in response to a "GET / HTTP" request. +.Pp +.It tracker.empty_torrent_timeout Ar minutes +Specifies how long a torrent that has no peers left in either family is held for +its download count alone. +Defaults to and is limited to 1440 minutes. Lower values save memory at the cost +of less realiable download counts. A value of zero immediately destroys empty +torrents. .El .Sh TUNING A worker is a thread that blocks in a read until a datagram arrives. Where the -- cgit v1.3