minimize the time we hold locks for and add sleep

This commit is contained in:
Maple 2026-04-25 15:23:53 +02:00
commit aaa530341d
2 changed files with 24 additions and 14 deletions

View file

@ -153,6 +153,7 @@ impl<C: Crypto> Server<C> {
}
});
frag_num += 1;
sleep(Duration::from_millis(16)).await;
}
drop(inner);
}