Sha256: b021b6e754b6af77315bbceb8b4cd28b9c4aedb016408eea56480f1172682d60
Contents?: true
Size: 372 Bytes
Versions: 4
Compression:
Stored size: 372 Bytes
Contents
module Chillout module Middleware class SidekiqCreationsMonitor def initialize(options) @client = options.fetch(:client) end def call(_worker, _job, _queue) yield ensure if creations = Chillout.creations Chillout.creations = nil @client.enqueue(creations) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems