From 7116fdd8621f722bd6d97afa5d501e9a566e275b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sat, 10 Feb 2024 21:55:39 +0100 Subject: [PATCH] udp: io_uring: improve docs --- crates/udp/src/workers/socket/uring/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/udp/src/workers/socket/uring/mod.rs b/crates/udp/src/workers/socket/uring/mod.rs index 299209c..2f85e42 100644 --- a/crates/udp/src/workers/socket/uring/mod.rs +++ b/crates/udp/src/workers/socket/uring/mod.rs @@ -134,9 +134,7 @@ impl SocketWorker { let recv_sqe = recv_helper.create_entry(buf_ring.bgid()); - // This timeout enables regular updates of pending_scrape_valid_until - // and wakes the main loop to send any pending responses in the case - // of no incoming requests + // This timeout enables regular updates of peer_valid_until let pulse_timeout_sqe = { let timespec_ptr = Box::into_raw(Box::new(Timespec::new().sec(1))) as *const _;