
This change will store large events (larger than 8KB) for ActionCable in the database. Therefore, it resolves issues where the payload was previously too large. Fixes #1920 Fixes CODEOCEAN-Y8 Fixes CODEOCEAN-WS
21 lines
714 B
YAML
21 lines
714 B
YAML
development:
|
|
adapter: enhanced_postgresql
|
|
|
|
test:
|
|
adapter: test
|
|
|
|
staging:
|
|
adapter: enhanced_postgresql
|
|
|
|
production:
|
|
adapter: enhanced_postgresql # OR postgresql OR redis
|
|
|
|
### Config options for `enhanced_postgresql`
|
|
# payload_encryptor_secret: # Required. Will be the defined value or `Rails.application.secret_key_base` or `ENV["SECRET_KEY_BASE"]`
|
|
# url: <%= ENV.fetch("DATABASE_URL") { "postgresql://localhost:5432/code_ocean_production" } %>
|
|
# connection_pool_size: <%= ENV.fetch("RAILS_MAX_THREADS", 5).to_i %> # Only used in conjunction with `url`
|
|
|
|
### Config options for `redis`
|
|
# url: <%= ENV.fetch("REDIS_URL") { "redis://localhost:6379/1" } %>
|
|
# channel_prefix: code_ocean_production
|