From 0bedb35fff9fe3be00f6c1d4f3a1d86dec8f01b2 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Thu, 14 Nov 2024 09:59:36 +0200 Subject: [PATCH] docs: add TODO for SIGINT listen --- emerwen-worker/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/emerwen-worker/src/main.rs b/emerwen-worker/src/main.rs index 9396746..2bfa655 100644 --- a/emerwen-worker/src/main.rs +++ b/emerwen-worker/src/main.rs @@ -88,6 +88,7 @@ async fn main() -> Result<(), Box> { } loop { + // TODO: listen for SIGINT tokio::time::sleep(std::time::Duration::new(5, 0)).await; } } -- 2.44.1