Skip to content

Commit

Permalink
LTI-283: added variable for prefixing redis cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jfederico committed Dec 19, 2023
1 parent 3fdf885 commit 6bd72d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions config/cable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@ test:

production:
adapter: <%= ENV['CABLE_ADAPTER'] || 'async' %>
# adapter: redis
# url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
# channel_prefix: bbb-app-rooms_production
channel_prefix: <%= ENV.fetch("REDIS_PREFIX") { "bbb-app-rooms" } %>
1 change: 1 addition & 0 deletions dotenv
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ URL_HOST=lti.jesus.blindside-dev.com

## Enable redis for actioncable (Optional)
# REDIS_URL=redis://myuser:mypass@localhost
# REDIS_PREFIX=bbb-app-rooms

## Use to send logs to external repository (Optional)
# RAILS_LOG_REMOTE_NAME=xxx.papertrailapp.com
Expand Down

0 comments on commit 6bd72d5

Please sign in to comment.