Skip to content

Commit

Permalink
Set cable production to async and revert to prod env
Browse files Browse the repository at this point in the history
  • Loading branch information
aapomm committed Apr 4, 2024
1 parent da15fa2 commit 0755a8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .do/deploy.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ spec:
- environment_slug: ruby-on-rails
envs:
- key: RAILS_ENV
value: development
value: production
scope: RUN_TIME
- key: RAILS_SERVE_STATIC_FILES
value: enabled
scope: RUN_TIME
Expand Down
4 changes: 1 addition & 3 deletions config/cable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@ test:
adapter: test

production:
adapter: redis
url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
channel_prefix: dradispro_production
adapter: async

0 comments on commit 0755a8c

Please sign in to comment.