fix(oauth): strengthen sync guarantees

This commit is contained in:
Matthew Esposito
2024-06-26 23:41:26 -04:00
parent 8c5aaaa33d
commit 3bd8b511a7
2 changed files with 5 additions and 5 deletions

View File

@ -131,7 +131,7 @@ pub async fn token_daemon() {
}
pub async fn force_refresh_token() {
trace!("Rolling over refresh token. Current rate limit: {}", OAUTH_RATELIMIT_REMAINING.load(Ordering::Relaxed));
trace!("Rolling over refresh token. Current rate limit: {}", OAUTH_RATELIMIT_REMAINING.load(Ordering::SeqCst));
OAUTH_CLIENT.write().await.refresh().await;
}