Indentation

modified to multi line function call.
This commit is contained in:
Adam Magness 2017-11-20 11:29:55 -05:00
parent 1eb2e541f6
commit 28cceda461
1 changed files with 5 additions and 1 deletions

View File

@ -533,7 +533,11 @@ class Worker
while ($entry = dba::fetch($entries)) {
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 {
// Kill long running processes
// Check if the priority is in a valid range