Module: Consumer::Subscription::Defaults
- Defined in:
- lib/consumer/subscription/defaults.rb
Class Method Summary collapse
Class Method Details
.poll_interval_milliseconds ⇒ Object
4 5 6 7 8 9 |
# File 'lib/consumer/subscription/defaults.rb', line 4 def self.poll_interval_milliseconds env_interval = ENV['POLL_INTERVAL_MILLISECONDS'] return env_interval.to_i if !env_interval.nil? 100 end |
.poll_timeout_milliseconds ⇒ Object
11 12 13 |
# File 'lib/consumer/subscription/defaults.rb', line 11 def self.poll_timeout_milliseconds 0 end |