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