New function
new function from recent develop branch merge
This commit is contained in:
parent
1115d19f79
commit
9622dedaeb
1 changed files with 5 additions and 1 deletions
|
@ -969,7 +969,11 @@ class Worker
|
|||
self::killStaleWorkers();
|
||||
}
|
||||
|
||||
public static function spawnWorker() {
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public static function spawnWorker()
|
||||
{
|
||||
$args = array("scripts/worker.php", "no_cron");
|
||||
get_app()->proc_run($args);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue