From 7ac6fb2a3708a45523cb700e28f8de0ebae9e3b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arma=C3=ABl=20Gu=C3=A9neau?= Date: Thu, 2 Jan 2025 12:04:31 +0100 Subject: [PATCH] remove TODO (unclear it was a good idea) --- src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 9942761..7a3b578 100644 --- a/src/main.rs +++ b/src/main.rs @@ -228,7 +228,6 @@ async fn apply_classification( for user in spammers { let login = db.login(user).unwrap(); // It is ok for any of these calls to fail now: a worker will periodically retry - // TODO: signal the worker to wake up instead of performing a manual call here workers::try_lock_and_notify_user(config, storage, forge, db, user) .await .unwrap_or_else(|err| eprintln!("Failed to lock or notify user {login}: {err}"));