rename qwaiter to mozo
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
if Rails.env.development?
|
||||
Qwaiter.event_host = "http://localhost:9296/faye"
|
||||
Mozo.event_host = "http://localhost:9296/faye"
|
||||
else
|
||||
Qwaiter.event_host = "https://events.mozo.bar/faye"
|
||||
Mozo.event_host = "https://events.mozo.bar/faye"
|
||||
end
|
||||
|
||||
Qwaiter.broadcaster = Qwaiter::Broadcaster::Faye.new
|
||||
Mozo.broadcaster = Mozo::Broadcaster::Faye.new
|
||||
|
||||
# use the connection from couchbase-structures/documents
|
||||
# will be overwritten in the specs since flushing the real
|
||||
# thing is difficult
|
||||
# Qwaiter::Counter.connection = $cb unless Rails.env.test?
|
||||
# Mozo::Counter.connection = $cb unless Rails.env.test?
|
||||
|
||||
# Use the Drb counter
|
||||
Qwaiter::Counter.connection = Qwaiter::DrbCounter.object unless Rails.env.test?
|
||||
Mozo::Counter.connection = Mozo::DrbCounter.object unless Rails.env.test?
|
||||
|
||||
Reference in New Issue
Block a user