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

Reduce object allocations for BasicFetch::UnitOfWork#queue_name

This commit is contained in:
Anton Davydov 2015-12-15 04:21:06 +03:00
parent 6a53c7e8df
commit fa1bd2c763

View file

@ -12,7 +12,7 @@ module Sidekiq
end
def queue_name
queue.gsub(/.*queue:/, ''.freeze)
queue.sub(/.*queue:/, ''.freeze)
end
def requeue