daemon: define MAX_JOBS below config.php
This commit is contained in:
parent
51b8c957ec
commit
98f7041837
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,6 @@
|
||||||
define('SIMPLEPIE_CACHE_DIR', '/var/tmp/simplepie-ttrss-cache-daemon');
|
define('SIMPLEPIE_CACHE_DIR', '/var/tmp/simplepie-ttrss-cache-daemon');
|
||||||
define('DISABLE_SESSIONS', true);
|
define('DISABLE_SESSIONS', true);
|
||||||
|
|
||||||
define('MAX_JOBS', 2);
|
|
||||||
|
|
||||||
require_once "version.php";
|
require_once "version.php";
|
||||||
|
|
||||||
if (strpos(VERSION, ".99") !== false || getenv('DAEMON_XDEBUG')) {
|
if (strpos(VERSION, ".99") !== false || getenv('DAEMON_XDEBUG')) {
|
||||||
|
@ -25,6 +23,8 @@
|
||||||
require_once "sanity_check.php";
|
require_once "sanity_check.php";
|
||||||
require_once "config.php";
|
require_once "config.php";
|
||||||
|
|
||||||
|
define('MAX_JOBS', 2);
|
||||||
|
|
||||||
define('SPAWN_INTERVAL', DAEMON_SLEEP_INTERVAL);
|
define('SPAWN_INTERVAL', DAEMON_SLEEP_INTERVAL);
|
||||||
|
|
||||||
if (!ENABLE_UPDATE_DAEMON) {
|
if (!ENABLE_UPDATE_DAEMON) {
|
||||||
|
|
Loading…
Reference in a new issue