~singpolyma/whiplash-mboa

fc2946897e125b3187005e19af0498d79a5770e2 — Stephen Paul Weber 1 year, 5 months ago 4eb5464
Configure production executor
1 files changed, 4 insertions(+), 3 deletions(-)

M config/environments/production.rb
M config/environments/production.rb => config/environments/production.rb +4 -3
@@ 60,9 60,10 @@ Rails.application.configure do
	# Use a different cache store in production.
	config.cache_store = :memory_store

	# 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 = "whiplash_mboa_production"
	config.active_job.queue_adapter = ActiveJob::QueueAdapters::AsyncAdapter.new(
		min_threads: 3,
		max_threads: 3
	)

	config.action_mailer.perform_caching = false