mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-02 04:37:35 +03:00
chore(clippy): fix lint
This commit is contained in:
parent
13083e999c
commit
2f8a38d8c7
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ pub async fn token_daemon() {
|
|||
}
|
||||
|
||||
pub async fn force_refresh_token() {
|
||||
if !OAUTH_IS_ROLLING_OVER.compare_exchange(false, true, Ordering::SeqCst, Ordering::SeqCst).is_ok() {
|
||||
if OAUTH_IS_ROLLING_OVER.compare_exchange(false, true, Ordering::SeqCst, Ordering::SeqCst).is_err() {
|
||||
trace!("Skipping refresh token roll over, already in progress");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue