};
use lemmy_websocket::{chat_server::ChatServer, LemmyContext};
use reqwest::Client;
+use reqwest_middleware::ClientBuilder;
+use reqwest_tracing::TracingMiddleware;
use std::{env, sync::Arc, thread};
use tokio::sync::Mutex;
use tracing_actix_web::TracingLogger;
.user_agent(build_user_agent(&settings))
.build()?;
- let queue_manager = create_activity_queue();
+ let client = ClientBuilder::new(client).with(TracingMiddleware).build();
+
+ let queue_manager = create_activity_queue(client.clone());
let activity_queue = queue_manager.queue_handle().clone();