File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -980,8 +980,10 @@ impl Builder {
980
980
/// tasks. Setting the interval to a smaller value increases the fairness of the scheduler,
981
981
/// at the cost of more synchronization overhead. That can be beneficial for prioritizing
982
982
/// getting started on new work, especially if tasks frequently yield rather than complete
983
- /// or await on further I/O. Conversely, a higher value prioritizes existing work, and
984
- /// is a good choice when most tasks quickly complete polling.
983
+ /// or await on further I/O. Setting the interval to `1` will prioritise the global queue and
984
+ /// tasks from the local queue will be executed only if the global queue is empty.
985
+ /// Conversely, a higher value prioritizes existing work, and is a good choice when most
986
+ /// tasks quickly complete polling.
985
987
///
986
988
/// [the module documentation]: crate::runtime#multi-threaded-runtime-behavior-at-the-time-of-writing
987
989
///
You can’t perform that action at this time.
0 commit comments