1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Add instructions for reproducing Ruby 2.0 slowness

This commit is contained in:
Mike Perham 2013-04-26 09:00:03 -07:00
parent b1064a98a6
commit 9d931cb23e
4 changed files with 60 additions and 1 deletions

View file

@ -1,6 +1,6 @@
class HardWorker
include Sidekiq::Worker
sidekiq_options :timeout => 20, :backtrace => 5
sidekiq_options :backtrace => 5
def perform(name, count, salt)
raise name if name == 'crash'