From 232ac112dcebff3b60cee1050d254c5d33645f54 Mon Sep 17 00:00:00 2001 From: johnnyshields <27655+johnnyshields@users.noreply.github.com> Date: Wed, 7 May 2025 13:59:24 +0900 Subject: [PATCH] MONGOID-5869 - Fix incorrectly named global_executor_concurrency config in code comment --- lib/mongoid/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mongoid/config.rb b/lib/mongoid/config.rb index 7ce5ecaa47..2f23b3a001 100644 --- a/lib/mongoid/config.rb +++ b/lib/mongoid/config.rb @@ -102,7 +102,7 @@ module Config # # - :immediate - Initializes a single +Concurrent::ImmediateExecutor+ # - :global_thread_pool - Initializes a single +Concurrent::ThreadPoolExecutor+ - # that uses the +async_query_concurrency+ for the +max_threads+ value. + # that uses the +global_executor_concurrency+ for the +max_threads+ value. option :async_query_executor, default: :immediate # Defines how many asynchronous queries can be executed concurrently.