Skip to content

Commit

Permalink
Fix #2: Default to using ::ThreadsOnFork worker.
Browse files Browse the repository at this point in the history
  • Loading branch information
mexisme committed Apr 28, 2015
1 parent a2ef6d1 commit 33cdab3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/squash_repeater/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def initialize
c.retry_delay = 30 # wait 30 seconds in between retries

# NB: This relies on forking behaviour!
c.default_worker = Backburner::Workers::Forking
# NB: Both ::Simple and ::Forking seem to have a bug in them (https://github.com/nesquena/backburner/issues/93)
c.default_worker = Backburner::Workers::ThreadsOnFork

#c.on_error = lambda { |ex| Airbrake.notify(ex) } #FUTURE: Choose a better failure mode:
end
Expand Down
2 changes: 1 addition & 1 deletion lib/squash_repeater/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module SquashRepeater
VERSION = "0.1.6"
VERSION = "0.1.7"
end

0 comments on commit 33cdab3

Please sign in to comment.