Sha256: 96e7aece8ddebcc45a66320df3568e548f3c3120688abad2f716a2cf2c655ad9
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
module Resque module StuckQueue module Signals extend self def enable! if Resque::StuckQueue.config[:enable_signals] trap("SIGUSR1") do ENV['SIGUSR1'] = "done be had" Resque::StuckQueue.logger.info("¯\_(ツ)_/¯ ...") end trap("SIGUSR2") do require 'pry' binding.pry end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
resque_stuck_queue-0.3.2 | lib/resque_stuck_queue/signals.rb |