recording async update

This commit is contained in:
Zachary Chai
2016-10-31 17:39:22 -04:00
parent db9d06b72f
commit e400bf41e8
11 changed files with 100 additions and 13 deletions

View File

@ -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

View File

@ -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.