activate ActionCable messaging instead of Faye
This commit is contained in:
@@ -11,7 +11,8 @@ end
|
|||||||
# Broadcaster: swap Faye ↔ ActionCable
|
# Broadcaster: swap Faye ↔ ActionCable
|
||||||
# Mozo.broadcaster = Mozo::Broadcaster::Faye.new # current (HTTP POST to Faye)
|
# Mozo.broadcaster = Mozo::Broadcaster::Faye.new # current (HTTP POST to Faye)
|
||||||
# Mozo.broadcaster = Mozo::Broadcaster::ActionCable.new # new (in-process async)
|
# Mozo.broadcaster = Mozo::Broadcaster::ActionCable.new # new (in-process async)
|
||||||
Mozo.broadcaster = Mozo::Broadcaster::Faye.new
|
#Mozo.broadcaster = Mozo::Broadcaster::Faye.new
|
||||||
|
Mozo.broadcaster = Mozo::Broadcaster::ActionCable.new # new (in-process async)
|
||||||
|
|
||||||
# Counter: swap DrbCounter ↔ Redis
|
# Counter: swap DrbCounter ↔ Redis
|
||||||
# Mozo::Counter.connection = Mozo::DrbCounter.object # current (DRb in-memory)
|
# Mozo::Counter.connection = Mozo::DrbCounter.object # current (DRb in-memory)
|
||||||
|
|||||||
Reference in New Issue
Block a user