1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 23:05:56 +00:00

fix DAEMON_SLEEP_INTERVAL not being defined when used

enforce minimum 60 sec spawn/sleep interval in update processes
This commit is contained in:
Andrew Dolgov
2017-05-06 10:54:14 +03:00
parent e6c886bf66
commit 4fd0790804
4 changed files with 16 additions and 7 deletions

View File

@@ -53,6 +53,12 @@
// How many seconds to wait for initial response from website when
// fetching files from remote sites
// feed updating stuff
define_default('DAEMON_UPDATE_LOGIN_LIMIT', 30);
define_default('DAEMON_FEED_LIMIT', 500);
define_default('DAEMON_SLEEP_INTERVAL', 120);
define_default('_MIN_CACHE_FILE_SIZE', 1024);
if (DB_TYPE == "pgsql") {
define('SUBSTRING_FOR_DATE', 'SUBSTRING_FOR_DATE');
} else {