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:
parent
6a53c7e8df
commit
fa1bd2c763
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ module Sidekiq
|
|||
end
|
||||
|
||||
def queue_name
|
||||
queue.gsub(/.*queue:/, ''.freeze)
|
||||
queue.sub(/.*queue:/, ''.freeze)
|
||||
end
|
||||
|
||||
def requeue
|
||||
|
|
Loading…
Reference in a new issue