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:
parent
8e98314bc9
commit
9724c703ab
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue