From 68d20cf6392eed44680a8f6dd44c9651caa02ffd Mon Sep 17 00:00:00 2001 From: null8626 Date: Tue, 2 Jan 2024 20:42:38 +0700 Subject: [PATCH] fix: forget it --- src/autoposter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autoposter.rs b/src/autoposter.rs index 42d0840..4681a7b 100644 --- a/src/autoposter.rs +++ b/src/autoposter.rs @@ -115,7 +115,7 @@ impl Autoposter { thread: spawn(async move { loop { { - let _ = data.sem.acquire().await.unwrap(); + data.sem.acquire().await.unwrap().forget(); let lock = data.stats.lock().await; let _ = client.post_stats(&lock).await; };