We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 189f5ed commit c01337fCopy full SHA for c01337f
1 file changed
spec/spec_helper.cr
@@ -12,7 +12,8 @@ require "./support/channels/*"
12
Cable.configure do |settings|
13
settings.route = "/updates"
14
settings.token = "test_token"
15
- settings.url = "redis://localhost:6379"
+ settings.url = ENV.fetch("CABLE_BACKEND_URL", "redis://localhost:6379")
16
+ settings.backend_class = Cable::RedisBackend
17
settings.backend_ping_interval = 2.seconds
18
settings.restart_error_allowance = 2
19
settings.on_error = ->(exception : Exception, message : String) do
0 commit comments