Class: DaimonSkycrawlers::Queue
- Inherits:
-
Object
- Object
- DaimonSkycrawlers::Queue
- Defined in:
- lib/daimon_skycrawlers/queue.rb
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/daimon_skycrawlers/queue.rb', line 6 def configuration @configuration ||= SongkickQueue.configure do |config| config.logger = Logger.new(STDOUT) config.host = "127.0.0.1" config.port = 5672 # config.username = 'guest' # config.password = 'guest' config.vhost = "/" config.max_reconnect_attempts = 10 config.network_recovery_interval = 1.0 end end |
.configure {|configuration| ... } ⇒ Object
19 20 21 |
# File 'lib/daimon_skycrawlers/queue.rb', line 19 def configure yield configuration end |