diff options
author | Andrew Dolgov <[email protected]> | 2017-05-06 10:54:14 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-05-06 10:54:14 +0300 |
commit | 4fd0790804191dac3247430cc3bd7053ae7d32ca (patch) | |
tree | 623a584dc90470c47231ab5ec99ca3582407c855 /include/functions.php | |
parent | e6c886bf66928d4bd496672f12b79b547747677b (diff) |
fix DAEMON_SLEEP_INTERVAL not being defined when used
enforce minimum 60 sec spawn/sleep interval in update processes
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php index b448c5a9d..4801876c1 100644 --- a/include/functions.php +++ b/include/functions.php @@ -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 { |