lib/propono/configuration.rb in propono-2.1.0 vs lib/propono/configuration.rb in propono-2.2.0
- old
+ new
@@ -20,20 +20,22 @@
add_setting :queue_region
add_setting :application_name
add_setting :logger
add_setting :max_retries
add_setting :num_messages_per_poll
+ add_setting :slow_queue_enabled, required: false
add_setting :use_iam_profile, required: false
add_setting :queue_suffix, required: false
def initialize
@settings = {
logger: Propono::Logger.new,
queue_suffix: "",
use_iam_profile: false,
max_retries: 0,
- num_messages_per_poll: 10
+ num_messages_per_poll: 1,
+ slow_queue_enabled: true
}
end
private