Skip to content

Commit

Permalink
Merge pull request #1 from greenbits/timeout
Browse files Browse the repository at this point in the history
Support no timeout
  • Loading branch information
Andrew Katz authored Apr 5, 2017
2 parents e7be410 + cea8529 commit 764d9c7
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 764d9c7

Please sign in to comment.