Merge branch 'main' into debug-federation

debug-federation
Dessalines 2022-02-17 13:33:45 -05:00 committed by GitHub
commit 803aa77e15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,7 @@ 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 std::{env, sync::Arc, thread, time::Duration};
use tokio::sync::Mutex;
use tracing_actix_web::TracingLogger;
@ -96,6 +96,7 @@ async fn main() -> Result<(), LemmyError> {
let client = Client::builder()
.user_agent(build_user_agent(&settings))
.timeout(Duration::from_secs(10))
.build()?;
let client = ClientBuilder::new(client).with(TracingMiddleware).build();