# Pesho instance for door status updates
Rails.application.config.door_status_manager = ActiveSupport::OrderedOptions.new
Rails.application.config.door_status_manager.host = '::1'
Rails.application.config.door_status_manager.url = "http://#{Rails.application.config.door_status_manager.host}"
Rails.application.config.door_status_manager.timeout = 1
Rails.application.config.door_status_manager.cache_lifetime = 1.minute
Rails.application.config.door_status_manager_backend = Door::StatusManager::Pesho.new

# Pesho instance for door status updates
Rails.application.config.door_status_manager = ActiveSupport::OrderedOptions.new
Rails.application.config.door_status_manager.host = '[::1]'
Rails.application.config.door_status_manager.url = "http://#{Rails.application.config.door_status_manager.host}"
Rails.application.config.door_status_manager.timeout = 1
Rails.application.config.door_status_manager.cache_lifetime = 1.minute
Rails.application.config.door_status_manager_backend = Door::StatusManager::Pesho.new

Make the default door status manager URI a valid one
Make the default door status manager URI a valid one
