Merge pull request #2917 from annando/issue-2914
Bugfix: Avoid warning when posting items and the worker isn't active
This commit is contained in:
commit
4eccdd7251
1 changed files with 1 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -1377,7 +1377,7 @@ class App {
|
||||||
function proc_run($args) {
|
function proc_run($args) {
|
||||||
|
|
||||||
// Add the php path if it is a php call
|
// 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.
|
// 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.
|
// This should prevent the forking of masses of workers.
|
||||||
|
|
Loading…
Reference in a new issue