File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,9 @@ module Concurrent
115115 # Thread pools support several configuration options:
116116 #
117117 # * `idletime`: The number of seconds that a thread may be idle before being reclaimed.
118+ # * `name`: The name of the executor (optional). Printed in the executor's `#to_s` output and
119+ # a `<name>-worker-<id>` name is given to its threads if supported by used Ruby
120+ # implementation. `<id>` is uniq for each thread.
118121 # * `max_queue`: The maximum number of tasks that may be waiting in the work queue at
119122 # any one time. When the queue size reaches `max_queue` and no new threads can be created,
120123 # subsequent tasks will be rejected in accordance with the configured `fallback_policy`.
You can’t perform that action at this time.
0 commit comments