-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Solid Cable adapter for ActionCable
Switching the adapter is not expected to make any noticeable difference and is in line with CodeOcean. The new Solid Cable adapter is also shipping with Rails 8 by default.
- Loading branch information
Showing
6 changed files
with
62 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
default: &default | ||
adapter: solid_cable # OR postgresql OR redis | ||
|
||
### Config options for `solid_cable` | ||
connects_to: | ||
database: | ||
writing: cable | ||
polling_interval: 0.1.seconds | ||
message_retention: 1.day | ||
autotrim: true | ||
silence_polling: true | ||
|
||
### Config options for `redis` | ||
# url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> | ||
# channel_prefix: codeharbor_production | ||
|
||
development: | ||
adapter: postgresql | ||
<<: *default | ||
|
||
test: | ||
adapter: test | ||
|
||
production: | ||
adapter: postgresql # redis | ||
# all other options below are only used for redis | ||
# url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %> | ||
# channel_prefix: codeharbor_production | ||
<<: *default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.