Skip to content

Commit 0d7fa89

Browse files
authored
Merge pull request #558 from rkh/patch-1
small language fix
2 parents 007d628 + 596cf88 commit 0d7fa89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/thread_pools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pool = Concurrent::ThreadPoolExecutor.new(
6262
)
6363
~~~
6464

65-
If you wants to provide a maximum queue size, you may also consider the `fallback_policy` which defines what will happen if work is posted to a pool when the queue of waiting work has reached the maximum size and no new threads can be created. Available policies:
65+
If you want to provide a maximum queue size, you may also consider the `fallback_policy` which defines what will happen if work is posted to a pool when the queue of waiting work has reached the maximum size and no new threads can be created. Available policies:
6666

6767
* abort: Raise a `Concurrent::RejectedExecutionError` exception and discard the task. (default policy)
6868
* discard: Silently discard the task and return nil as the task result.

0 commit comments

Comments
 (0)