mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
runtime: fix event_interval doc (#7932)
This commit is contained in:
@@ -1116,7 +1116,7 @@ impl Builder {
|
|||||||
/// Setting the event interval determines the effective "priority" of delivering
|
/// Setting the event interval determines the effective "priority" of delivering
|
||||||
/// these external events (which may wake up additional tasks), compared to
|
/// these external events (which may wake up additional tasks), compared to
|
||||||
/// executing tasks that are currently ready to run. A smaller value is useful
|
/// executing tasks that are currently ready to run. A smaller value is useful
|
||||||
/// when tasks frequently spend a long time in polling, or frequently yield,
|
/// when tasks frequently spend a long time in polling, or infrequently yield,
|
||||||
/// which can result in overly long delays picking up I/O events. Conversely,
|
/// which can result in overly long delays picking up I/O events. Conversely,
|
||||||
/// picking up new events requires extra synchronization and syscall overhead,
|
/// picking up new events requires extra synchronization and syscall overhead,
|
||||||
/// so if tasks generally complete their polling quickly, a higher event interval
|
/// so if tasks generally complete their polling quickly, a higher event interval
|
||||||
|
|||||||
Reference in New Issue
Block a user