forked from External/greenlight
recording async update
This commit is contained in:
@ -31,11 +31,13 @@ Rails.application.configure do
|
||||
|
||||
config.action_mailer.perform_caching = false
|
||||
|
||||
config.active_job.queue_adapter = :async
|
||||
|
||||
# action cable socket URI
|
||||
config.action_cable.url = "ws://localhost/cable"
|
||||
|
||||
# allowed action cable origins
|
||||
Rails.application.config.action_cable.allowed_request_origins = ['http://localhost']
|
||||
config.action_cable.allowed_request_origins = ['http://localhost']
|
||||
|
||||
# Print deprecation notices to the Rails logger.
|
||||
config.active_support.deprecation = :log
|
||||
|
@ -55,6 +55,8 @@ Rails.application.configure do
|
||||
# Use a real queuing backend for Active Job (and separate queues per environment)
|
||||
# config.active_job.queue_adapter = :resque
|
||||
# config.active_job.queue_name_prefix = "greenlight_#{Rails.env}"
|
||||
config.active_job.queue_adapter = :async
|
||||
|
||||
config.action_mailer.perform_caching = false
|
||||
|
||||
# Ignore bad email addresses and do not raise email delivery errors.
|
||||
|
Reference in New Issue
Block a user