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.