You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// 4. Invoking `println!` or other synchronous logging routines.
245
-
/// Invocations of `println!` involve acquiring an exclusive lock on stdout, followed by a
246
-
/// synchronous write to stdout.
245
+
/// Invocations of `println!` involve acquiring an exclusive lock on stdout, followed by a
246
+
/// synchronous write to stdout.
247
247
/// 2. **Your tasks are computationally expensive.** Common culprits include:
248
248
/// 1. TLS/cryptographic routines
249
249
/// 2. doing a lot of processing on bytes
@@ -253,7 +253,7 @@ use std::time::{Duration, Instant};
253
253
/// You observed that [your tasks are spending more time waiting to be polled](#are-my-tasks-spending-more-time-waiting-to-be-polled)
254
254
/// suggesting some combination of:
255
255
/// - Your application is inflating the time elapsed between instrumentation and first poll.
256
-
/// - Your tasks are being scheduled into tokio's injection queue.
256
+
/// - Your tasks are being scheduled into tokio's global queue.
257
257
/// - Other tasks are spending too long without yielding, thus backing up tokio's queues.
258
258
///
259
259
/// Start by asking: [*Is time-to-first-poll unusually high?*](#is-time-to-first-poll-unusually-high)
@@ -307,9 +307,9 @@ use std::time::{Duration, Instant};
307
307
/// ```
308
308
///
309
309
/// Otherwise, [`mean_first_poll_delay`][TaskMetrics::mean_first_poll_delay] might be unusually high
310
-
/// because [*your application is spawning key tasks into tokio's injection queue...*](#is-my-application-spawning-more-tasks-into-tokio’s-injection-queue)
310
+
/// because [*your application is spawning key tasks into tokio's global queue...*](#is-my-application-spawning-more-tasks-into-tokio’s-global-queue)
311
311
///
312
-
/// ##### Is my application spawning more tasks into tokio's injection queue?
312
+
/// ##### Is my application spawning more tasks into tokio's global queue?
313
313
/// Tasks awoken from threads *not* managed by the tokio runtime are scheduled with a slower,
0 commit comments