Skip to content

Commit 03fe44c

Browse files
authored
runtime: fix event_interval doc (#7932)
1 parent d18e5df commit 03fe44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/src/runtime/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ impl Builder {
11161116
/// Setting the event interval determines the effective "priority" of delivering
11171117
/// these external events (which may wake up additional tasks), compared to
11181118
/// 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,
1119+
/// when tasks frequently spend a long time in polling, or infrequently yield,
11201120
/// which can result in overly long delays picking up I/O events. Conversely,
11211121
/// picking up new events requires extra synchronization and syscall overhead,
11221122
/// so if tasks generally complete their polling quickly, a higher event interval

0 commit comments

Comments
 (0)