Add async queries

This commit is contained in:
rebuilt 2022-06-16 16:59:29 -07:00
parent a6ad132c81
commit 0593f53fb4
4 changed files with 7 additions and 5 deletions

View file

@ -71,4 +71,5 @@ Rails.application.configure do
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
config.action_controller.include_all_helpers = false
config.active_record.async_query_executor = :global_thread_pool
end

View file

@ -111,4 +111,5 @@ Rails.application.configure do
# config.active_record.database_resolver_context = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session
config.action_controller.include_all_helpers = false
config.active_record.async_query_executor = :global_thread_pool
end