V0 #2

Closed
RusticMaple wants to merge 58 commits from v0 into main
Showing only changes of commit 2122b8dd6c - Show all commits

more logging

Maple 2026-01-31 21:50:42 +01:00

View file

@ -168,6 +168,7 @@ impl<C: Crypto> Server<C> {
async fn timeout_thread(self: Arc<Self>, conn: Arc<Connection<C::Instance>>) {
loop {
sleep(Duration::from_secs(3));
info!("running another loop");
let mut inner = conn.inner.lock().await;
if (Instant::now() - inner.last_action).as_secs() > 5 {
warn!("connection exceeded silence limit, sending ping");