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.
1 parent ec2f316 commit 780c446Copy full SHA for 780c446
src/index.rs
@@ -115,6 +115,10 @@ impl Index {
115
///
116
/// Only for long-running / expensive operations that would block the async runtime or its
117
/// blocking workerpool.
118
+///
119
+/// The thread-name will help us better seeing where our CPU load is coming from.
120
121
+/// Also, "look Ma, no 'static" because of thread::scope.
122
async fn handle_in_thread<R, F>(f: F) -> Result<R>
123
where
124
F: FnOnce() -> Result<R> + Send,
0 commit comments