New function

new function from recent develop branch merge
This commit is contained in:
Adam Magness 2017-11-19 17:33:07 -05:00
parent 1115d19f79
commit 9622dedaeb

View file

@ -969,7 +969,11 @@ class Worker
self::killStaleWorkers(); self::killStaleWorkers();
} }
public static function spawnWorker() { /**
* @return void
*/
public static function spawnWorker()
{
$args = array("scripts/worker.php", "no_cron"); $args = array("scripts/worker.php", "no_cron");
get_app()->proc_run($args); get_app()->proc_run($args);
} }