1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

better formatting for readability

This commit is contained in:
awaw 2013-05-31 02:59:57 +08:00
parent 8e98314bc9
commit 9724c703ab

View file

@ -92,8 +92,7 @@ module Sidekiq
# Pop out a single job and perform it
def perform_one
raise(EmptyQueueError,
"perform_one called with empty job queue") unless jobs.size > 0
raise(EmptyQueueError, "perform_one called with empty job queue") unless jobs.size > 0
job = jobs.shift
new.perform(*job['args'])
end