From 9e1eba6bfb0470185c9d136a18278b736636a478 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Sun, 6 Apr 2025 13:13:16 -0400 Subject: [PATCH] Enable Active Record load_async Use of load_async was introduced in 49ef811d, but the feature has not been enabled until this change. --- config/application.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/application.rb b/config/application.rb index ae36b65d4..765a43731 100644 --- a/config/application.rb +++ b/config/application.rb @@ -23,5 +23,8 @@ module Fizzy # # config.time_zone = "Central Time (US & Canada)" # config.eager_load_paths << Rails.root.join("extras") + + # enable load_async + config.active_record.async_query_executor = :global_thread_pool end end