Skip to content

Commit

Permalink
Support no timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Katz committed Apr 5, 2017
1 parent e7be410 commit cea8529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/frenzy_bunnies/worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def start(context)

@queue_opts[:prefetch] ||= 10
@queue_opts[:durable] ||= false
@queue_opts[:timeout_job_after] ||=5
@queue_opts[:timeout_job_after] = 5 if @queue_opts[:timeout_job_after].nil?
@queue_opts[:handler] ||= FrenzyBunnies::Handlers::Oneshot

if @queue_opts[:threads]
Expand Down

0 comments on commit cea8529

Please sign in to comment.