Don't always fork the poller.

This commit is contained in:
Michael 2017-06-05 06:08:26 +00:00
parent fb72fc77f5
commit 8db079c65e
4 changed files with 9 additions and 17 deletions

View file

@ -17,7 +17,7 @@ function pubsubpublish_run(&$argv, &$argc){
foreach ($r as $rr) {
logger("Publish feed to ".$rr["callback_url"], LOGGER_DEBUG);
proc_run(PRIORITY_HIGH, 'include/pubsubpublish.php', $rr["id"]);
proc_run(array('priority' => PRIORITY_HIGH, 'dont_fork' => true), 'include/pubsubpublish.php', $rr["id"]);
}
}