diff --git a/lib/squash_repeater/configure.rb b/lib/squash_repeater/configure.rb index 9484aa2..99c20d2 100644 --- a/lib/squash_repeater/configure.rb +++ b/lib/squash_repeater/configure.rb @@ -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 diff --git a/lib/squash_repeater/version.rb b/lib/squash_repeater/version.rb index 45e12c2..525402e 100644 --- a/lib/squash_repeater/version.rb +++ b/lib/squash_repeater/version.rb @@ -1,3 +1,3 @@ module SquashRepeater - VERSION = "0.1.6" + VERSION = "0.1.7" end