Fix tokio runtime in custom schemes not having time enabled

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/4/head
trivernis 3 years ago
parent 03f70e2f8a
commit e1aceced33

@ -24,6 +24,7 @@ pub fn register_custom_uri_schemes<R: Runtime>(builder: Builder<R>) -> Builder<R
fn build_uri_runtime() -> PluginResult<TokioRuntime> {
let runtime = TokioRuntimeBuilder::new_current_thread()
.thread_name("custom-scheme")
.enable_all()
.max_blocking_threads(1)
.build()?;

Loading…
Cancel
Save