feat: add threadpool for iterator threads, bug fixes, tracing_flame support

This commit is contained in:
Timo Kösters
2021-07-29 08:36:01 +02:00
parent e0072eff63
commit 5e924227b6
26 changed files with 472 additions and 228 deletions

View File

@@ -1,4 +1,3 @@
use log::warn;
use ruma::{
api::client::{
error::{Error as RumaError, ErrorKind},
@@ -7,17 +6,18 @@ use ruma::{
ServerName,
};
use thiserror::Error;
use tracing::warn;
#[cfg(feature = "conduit_bin")]
use {
crate::RumaResponse,
http::StatusCode,
log::error,
rocket::{
response::{self, Responder},
Request,
},
ruma::api::client::r0::uiaa::UiaaResponse,
tracing::error,
};
pub type Result<T> = std::result::Result<T, Error>;