We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
event_interval
1 parent d18e5df commit 03fe44cCopy full SHA for 03fe44c
1 file changed
tokio/src/runtime/builder.rs
@@ -1116,7 +1116,7 @@ impl Builder {
1116
/// Setting the event interval determines the effective "priority" of delivering
1117
/// these external events (which may wake up additional tasks), compared to
1118
/// executing tasks that are currently ready to run. A smaller value is useful
1119
- /// when tasks frequently spend a long time in polling, or frequently yield,
+ /// when tasks frequently spend a long time in polling, or infrequently yield,
1120
/// which can result in overly long delays picking up I/O events. Conversely,
1121
/// picking up new events requires extra synchronization and syscall overhead,
1122
/// so if tasks generally complete their polling quickly, a higher event interval
0 commit comments