mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
make after-style middleware
This commit is contained in:
parent
2dbdd694d6
commit
7081cd1ce5
1 changed files with 1 additions and 1 deletions
|
@ -91,8 +91,8 @@ module Sidekiq
|
||||||
end
|
end
|
||||||
|
|
||||||
def call(worker, msg, queue)
|
def call(worker, msg, queue)
|
||||||
@redis.srem("queue:encoded:#{queue}", Base64.encode64(msg.to_json))
|
|
||||||
yield
|
yield
|
||||||
|
@redis.srem("queue:encoded:#{queue}", Base64.encode64(msg.to_json))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue