Skip to content

Commit

Permalink
status = 0
Browse files Browse the repository at this point in the history
  • Loading branch information
dp-ifacesoft committed Oct 5, 2020
1 parent 61ae499 commit 282f569
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/Ice/Action/Worker/Status.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public function run(array $input)
{
$provider = Redis::getInstance('default', $input['action']);

return $provider->hGet($input['worker_key']);
$result = $provider->hGet($input['worker_key']);

return $result ? $result : ['status' => '0'];
}
}

0 comments on commit 282f569

Please sign in to comment.