lib/propono/configuration.rb in propono-1.6.0 vs lib/propono/configuration.rb in propono-1.7.0
- old
+ new
@@ -9,18 +9,19 @@
:use_iam_profile, :access_key, :secret_key, :queue_region, :queue_suffix,
:application_name,
:udp_host, :udp_port,
:tcp_host, :tcp_port,
:logger,
- :max_retries
+ :max_retries, :num_messages_per_poll
]
attr_writer *SETTINGS
def initialize
self.logger = Propono::Logger.new
self.queue_suffix = ""
self.use_iam_profile = false
self.max_retries = 0
+ self.num_messages_per_poll = 10
end
SETTINGS.each do |setting|
define_method setting do
get_or_raise(setting)