daemon2: only perform houskeeping on task 0
This commit is contained in:
parent
9e40bd3c33
commit
830f6f08b4
|
@ -175,6 +175,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
update_daemon_common(isset($options["pidlock"]) ? 50 : DAEMON_FEED_LIMIT);
|
update_daemon_common(isset($options["pidlock"]) ? 50 : DAEMON_FEED_LIMIT);
|
||||||
|
|
||||||
|
if (!isset($options["pidlock"]) || $options["task"] == 0)
|
||||||
housekeeping_common(true);
|
housekeeping_common(true);
|
||||||
|
|
||||||
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, "hook_update_task", $op);
|
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, "hook_update_task", $op);
|
||||||
|
|
Loading…
Reference in New Issue