Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
Merge 57624a1 into 451a380
Browse files Browse the repository at this point in the history
  • Loading branch information
mfauveau committed Oct 20, 2014
2 parents 451a380 + 57624a1 commit 0f061dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ResqueStatus/ResqueStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ public function getWorkers()
{
$workers = $this->redis->hGetAll(self::$workerKey);

$workers = array_filter($workers, function($v) {
if (false === is_numeric($v)) {
return $v;
}
});

return array_map('unserialize', $workers);
}

Expand Down

0 comments on commit 0f061dd

Please sign in to comment.