Infrastructure connection updates

This commit is contained in:
2020-03-04 19:52:28 -05:00
parent 51748d5783
commit aec5364f2e
14 changed files with 48 additions and 21 deletions
+6 -1
View File
@@ -1,4 +1,9 @@
Qwaiter.event_host = "http://#{(Rails.env.development? or Rails.env.test?) ? ENV['MOZO_LOCAL_IP'] || 'localhost' : 'events.mozo.bar'}:9296/faye"
if Rails.env.development?
Qwaiter.event_host = "https://events.mozo.local:9296/faye"
else
Qwaiter.event_host = "https://events.mozo.bar:9296/faye"
end
Qwaiter.broadcaster = Qwaiter::Broadcaster::Faye.new
# use the connection from couchbase-structures/documents