From 8a02a728c8726f65efb78a1f07911b8e4065b4ef Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 30 Sep 2020 17:03:16 +0300 Subject: add DAEMON_UNSUCCESSFUL_DAYS_LIMIT tunable (defaults to 30 days) --- include/functions.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/functions.php b/include/functions.php index 97de353e7..6a7ad671d 100644 --- a/include/functions.php +++ b/include/functions.php @@ -72,6 +72,9 @@ // this is used to not cause excessive load on the origin server on // e.g. feed subscription when all articles are being processes // (not implemented) + define_default('DAEMON_UNSUCCESSFUL_DAYS_LIMIT', 30); + // automatically disable updates for feeds which failed to + // update for this amount of days; 0 disables /* tunables end here */ -- cgit v1.2.3-54-g00ecf