1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-22 16:32:59 +08:00

Add sleep to reduce spinning when waiting on two factor auth

This commit is contained in:
Dean Herbert 2025-02-18 23:52:08 +09:00
parent b905a92b20
commit 7566da8663
No known key found for this signature in database

View File

@ -190,7 +190,10 @@ namespace osu.Game.Online.API
attemptConnect();
if (state.Value != APIState.Online)
{
Thread.Sleep(50);
continue;
}
}
// hard bail if we can't get a valid access token.