From ecd2e414bde6b44bffeea0e6ee49d2dc603f35cc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 30 Nov 2017 12:55:50 +0300 Subject: add ttrss_feeds.last_unconditional (schema bump) --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/functions.php b/include/functions.php index ed6f78eef..6c7a6de5f 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1,6 +1,6 @@ Date: Thu, 30 Nov 2017 13:12:28 +0300 Subject: enforce unconditional requests every 6 hours even if server claims data is not modified --- include/functions.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/functions.php b/include/functions.php index 6c7a6de5f..277975c5c 100644 --- a/include/functions.php +++ b/include/functions.php @@ -57,6 +57,9 @@ // do not cache files smaller than that (bytes) define_default('CACHE_MAX_DAYS', 7); // max age in days for various automatically cached (temporary) files + define_default('MAX_CONDITIONAL_INTERVAL', 3600*6); + // max interval between forced unconditional updates for servers + // not complying with http if-modified-since (seconds) /* tunables end here */ -- cgit v1.2.3