1
0
Fork 0
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:
Mike Perham 2022-04-21 10:39:13 -07:00
parent fc7b7d8532
commit 2ca1a026d2

View file

@ -18,7 +18,7 @@ module Sidekiq
end end
def self.add(k, v) def self.add(k, v)
Thread.current[:sidekiq_context][k] = v current[k] = v
end end
end end