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

return array position in testing push

This commit is contained in:
João Daniel 2013-02-28 17:55:52 -03:00
parent a70656d603
commit c8e510d1af

View file

@ -60,7 +60,7 @@ module Sidekiq
def client_push(opts)
jobs << opts
true
jobs.size-1
end
# Jobs queued for this worker