Skip to content

Commit eb6faa3

Browse files
committed
Merge branch 'master' of github.com:defunkt/resque
2 parents 3b3281f + e43e3e7 commit eb6faa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/resque/worker.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def self.working
3535
names.map! { |name| "worker:#{name}" }
3636
redis.mapped_mget(*names).keys.map do |key|
3737
find key.sub("worker:", '')
38-
end
38+
end.compact
3939
end
4040

4141
# Returns a single worker object. Accepts a string id.

0 commit comments

Comments
 (0)