actually fixing the bug the last commit was supposed to fix

This commit is contained in:
2025-12-27 10:30:15 +08:00
parent b168d674bd
commit 40d9872876
2 changed files with 22 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ async fn init_ws_after_auth() {
const MAX_ATTEMPTS: u8 = 5;
const BACKOFF: Duration = Duration::from_millis(300);
for attempt in 1..=MAX_ATTEMPTS {
for _attempt in 1..=MAX_ATTEMPTS {
if get_access_token().await.is_some() {
init_ws_client().await;
return;