Add timeout

This commit is contained in:
Silas Brack 2026-03-08 17:41:58 +01:00
parent 138ab72240
commit f19656486a
4 changed files with 14 additions and 1 deletions

View file

@ -19,6 +19,7 @@ async fn start_server() -> String {
"http://localhost:3103".into(),
],
replicas: 2,
voltimeout: std::time::Duration::from_secs(1),
};
let listener = tokio::net::TcpListener::bind("127.0.0.1:0").await.unwrap();