diff options
author | Andrew Dolgov <[email protected]> | 2020-09-30 17:03:16 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-09-30 17:03:16 +0300 |
commit | 8a02a728c8726f65efb78a1f07911b8e4065b4ef (patch) | |
tree | 3fc7bc9a673f679b04405b7db98cfa5f8f23ec91 /include | |
parent | e641547d37ce39ae67a119202795c51781f35228 (diff) |
add DAEMON_UNSUCCESSFUL_DAYS_LIMIT tunable (defaults to 30 days)
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.php | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |