From e2587692a876670dea0446a03c4775924004c10e Mon Sep 17 00:00:00 2001 From: kale Date: Mon, 3 Jun 2024 19:59:25 +0200 Subject: [PATCH] fix: Remove delay --- server/src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/src/main.rs b/server/src/main.rs index 74cab6e..e4a18ed 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -101,7 +101,5 @@ pub async fn stream_file(mut dest: body::Sender, mut file: tokio::fs::File) { warn!("Connection dropped by peer"); break; } - - tokio::time::sleep(Duration::from_millis(100)).await; } }