examples/benchmark_worker.rb in sneakers-0.0.5 vs examples/benchmark_worker.rb in sneakers-0.0.6
- old
+ new
@@ -9,10 +9,10 @@
:ack => true,
:threads => 50,
:prefetch => 50,
:timeout_job_after => 1,
:exchange => 'dummy',
- :heartbeat_interval => 5
+ :heartbeat => 5
def work(msg)
ack!
end
end