lib/penthouse/sidekiq/middleware/client.rb in penthouse-0.10.1 vs lib/penthouse/sidekiq/middleware/client.rb in penthouse-0.11.0

- old
+ new

@@ -1,10 +1,10 @@ module Penthouse module Sidekiq module Middleware class Client def call(worker_class, item, queue, redis_pool=nil) - item['tenant'] ||= Penthouse.current_tenant + item['tenant'] ||= Penthouse.tenant yield end end end end