1
1
Fork 0

Bugfix: Avoid warning when posting items and the worker isn't active

This commit is contained in:
Michael 2016-11-15 11:52:01 +00:00
parent b628e82465
commit 85875fc07f

View file

@ -1377,7 +1377,7 @@ class App {
function proc_run($args) {
// Add the php path if it is a php call
if (count($args) && ($args[0] === 'php' OR is_int($args[0]))) {
if (count($args) && ($args[0] === 'php' OR !is_string($args[0]))) {
// If the last worker fork was less than 10 seconds before then don't fork another one.
// This should prevent the forking of masses of workers.