remove TODO (unclear it was a good idea)

This commit is contained in:
Armaël Guéneau 2025-01-02 12:04:31 +01:00
parent fcd4b4538a
commit 7ac6fb2a37

View file

@ -228,7 +228,6 @@ async fn apply_classification(
for user in spammers { for user in spammers {
let login = db.login(user).unwrap(); let login = db.login(user).unwrap();
// It is ok for any of these calls to fail now: a worker will periodically retry // 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) workers::try_lock_and_notify_user(config, storage, forge, db, user)
.await .await
.unwrap_or_else(|err| eprintln!("Failed to lock or notify user {login}: {err}")); .unwrap_or_else(|err| eprintln!("Failed to lock or notify user {login}: {err}"));