Module: Lepus::Web::ConfigExtensions
- Included in:
- Configuration
- Defined in:
- lib/lepus/web.rb
Overview
Web-specific configuration extensions. Only activated when lepus/web is explicitly required.
Instance Attribute Summary collapse
-
#web_show_all_exchanges ⇒ Object
Returns the value of attribute web_show_all_exchanges.
Instance Method Summary collapse
Instance Attribute Details
#web_show_all_exchanges ⇒ Object
Returns the value of attribute web_show_all_exchanges.
12 13 14 |
# File 'lib/lepus/web.rb', line 12 def web_show_all_exchanges @web_show_all_exchanges end |
Instance Method Details
#initialize ⇒ Object
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/lepus/web.rb', line 14 def initialize(*) super @web_show_all_exchanges = false # The FileBackend writes to a local path, which breaks when workers # and the dashboard run in separate containers/hosts. Requiring # `lepus/web` implies you want cross-process visibility, so default # to the shared RabbitMQ-backed registry. Users can still override # with `config.process_registry_backend = :file` in their initializer. @process_registry_backend = :rabbitmq end |