Sha256: e1d8b2576b8a990f5ee2552701e9787d11f8e4162c22cb8b08ae7524b07b04b2
Contents?: true
Size: 251 Bytes
Versions: 3
Compression:
Stored size: 251 Bytes
Contents
class HardWorker include Creeper::Worker creeper_legacy_queue 'hard.worker' creeper_options 'timeout' => 20, 'backtrace' => 5 def perform(name, count, salt) raise name if name == 'crash' logger.info Time.now sleep count end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
creeper-2.0.2 | spec/dummy/app/workers/hard_worker.rb |
creeper-2.0.1 | spec/dummy/app/workers/hard_worker.rb |
creeper-2.0.0 | spec/dummy/app/workers/hard_worker.rb |