Indentation
modified to multi line function call.
This commit is contained in:
parent
1eb2e541f6
commit
28cceda461
1 changed files with 5 additions and 1 deletions
|
@ -533,7 +533,11 @@ class Worker
|
||||||
|
|
||||||
while ($entry = dba::fetch($entries)) {
|
while ($entry = dba::fetch($entries)) {
|
||||||
if (!posix_kill($entry["pid"], 0)) {
|
if (!posix_kill($entry["pid"], 0)) {
|
||||||
dba::update('workerqueue', array('executed' => NULL_DATE, 'pid' => 0), array('id' => $entry["id"]));
|
dba::update(
|
||||||
|
'workerqueue',
|
||||||
|
array('executed' => NULL_DATE, 'pid' => 0),
|
||||||
|
array('id' => $entry["id"])
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
// Kill long running processes
|
// Kill long running processes
|
||||||
// Check if the priority is in a valid range
|
// Check if the priority is in a valid range
|
||||||
|
|
Loading…
Reference in a new issue