mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Fix unsafe add
This commit is contained in:
parent
fc7b7d8532
commit
2ca1a026d2
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module Sidekiq
|
|||
end
|
||||
|
||||
def self.add(k, v)
|
||||
Thread.current[:sidekiq_context][k] = v
|
||||
current[k] = v
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue