summaryrefslogtreecommitdiff
path: root/update_daemon2.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-02-08 04:45:31 +0100
committerAndrew Dolgov <[email protected]>2008-02-08 04:45:31 +0100
commit98f70418371e18ead23cb526396a3539d2337e48 (patch)
tree885c3b32589bc07c1a98f418f96ca0e114a82465 /update_daemon2.php
parent51b8c957ecce8f659f622950e0977734a6ac7365 (diff)
daemon: define MAX_JOBS below config.php
Diffstat (limited to 'update_daemon2.php')
-rw-r--r--update_daemon2.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/update_daemon2.php b/update_daemon2.php
index 1b4007ac8..be652777e 100644
--- a/update_daemon2.php
+++ b/update_daemon2.php
@@ -12,8 +12,6 @@
define('SIMPLEPIE_CACHE_DIR', '/var/tmp/simplepie-ttrss-cache-daemon');
define('DISABLE_SESSIONS', true);
- define('MAX_JOBS', 2);
-
require_once "version.php";
if (strpos(VERSION, ".99") !== false || getenv('DAEMON_XDEBUG')) {
@@ -25,6 +23,8 @@
require_once "sanity_check.php";
require_once "config.php";
+ define('MAX_JOBS', 2);
+
define('SPAWN_INTERVAL', DAEMON_SLEEP_INTERVAL);
if (!ENABLE_UPDATE_DAEMON) {