Skip to content

Commit

Permalink
fix: forget it
Browse files Browse the repository at this point in the history
  • Loading branch information
null8626 committed Jan 2, 2024
1 parent 75d3cb2 commit 68d20cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autoposter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 68d20cf

Please sign in to comment.