Working app now yeah

This commit is contained in:
2014-08-26 18:31:11 +02:00
parent 8604636bc8
commit 3b410bd493
13 changed files with 472 additions and 12 deletions
+10
View File
@@ -0,0 +1,10 @@
Qwaiter.event_host = "http://#{Rails.env.development? ? 'localhost' : 'events.mozo.bar'}:9296/faye"
Qwaiter.broadcaster = Qwaiter::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?
# Use the Drb counter
Qwaiter::Counter.connection = Qwaiter::DrbCounter.object unless Rails.env.test?