File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -180,14 +180,14 @@ impl TaskPool {
180
180
}
181
181
182
182
fn new_internal ( builder : TaskPoolBuilder ) -> Self {
183
- if let Some ( thread_count) = builder. max_blocking_threads {
184
- // Safety: This is likely unsafe as this could be called if the TaskPoolBuilder is called from
185
- // multiple threads.
186
- // #[expect(unsafe_code, reason = "TaskPools are only initialiazed from one thread")]
187
- // unsafe {
188
- // env::set_var("BLOCKING_MAX_THREADS", thread_count.to_string().as_str());
189
- // }
190
- }
183
+ // if let Some(thread_count) = builder.max_blocking_threads {
184
+ // Safety: This is likely unsafe as this could be called if the TaskPoolBuilder is called from
185
+ // multiple threads.
186
+ // #[expect(unsafe_code, reason = "TaskPools are only initialiazed from one thread")]
187
+ // unsafe {
188
+ // env::set_var("BLOCKING_MAX_THREADS", thread_count.to_string().as_str());
189
+ // }
190
+ // }
191
191
192
192
let ( shutdown_tx, shutdown_rx) = async_channel:: unbounded :: < ( ) > ( ) ;
193
193
You can’t perform that action at this time.
0 commit comments