Enable Active Record load_async

Use of load_async was introduced in 49ef811d, but the feature has not
been enabled until this change.
This commit is contained in:
Mike Dalessio
2025-04-06 13:13:16 -04:00
parent 95cd60b919
commit 9e1eba6bfb
+3
View File
@@ -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