fix: panic on launch

Now we start the admin and sending threads at a later time.
This commit is contained in:
Timo Kösters
2022-10-08 13:57:01 +02:00
committed by Nyaaori
parent 50b0eb9929
commit 8b5b7a1f63
20 changed files with 46 additions and 53 deletions

View File

@@ -28,7 +28,7 @@ use http::{
};
use opentelemetry::trace::{FutureExt, Tracer};
use ruma::api::{client::error::ErrorKind, IncomingRequest};
use tokio::{signal};
use tokio::signal;
use tower::ServiceBuilder;
use tower_http::{
cors::{self, CorsLayer},