# ActionCable configuration for real-time broadcasting. # # Development/Test: async adapter (in-process, no external dependency). # Production: async is fine for single-server deployments. # Switch to Redis (`redis://...`) if scaling to multiple Puma workers # where broadcasts need to reach clients connected to different workers. # development: adapter: async test: adapter: test production: adapter: async # adapter: redis # url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> # channel_prefix: mozo_backend_production