pebbles-river 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pebbles/river/version.rb +1 -1
- data/lib/pebbles/river/worker.rb +5 -1
- metadata +1 -1
data/lib/pebbles/river/worker.rb
CHANGED
@@ -43,7 +43,11 @@ module Pebbles
|
|
43
43
|
end
|
44
44
|
|
45
45
|
@queue_options = (options[:queue] || {}).freeze
|
46
|
-
|
46
|
+
if options[:managed_acking] != nil
|
47
|
+
@managed_acking = !!options.fetch(:managed_acking, true)
|
48
|
+
else
|
49
|
+
@managed_acking = true
|
50
|
+
end
|
47
51
|
@on_exception = options[:on_exception] || ->(*args) { }
|
48
52
|
@handler = handler
|
49
53
|
@river = River.new
|