mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:52:54 +08:00
Fix clashing error messaging during realm block operations
This commit is contained in:
parent
4fd47b5fa0
commit
93809a92d4
@ -860,7 +860,7 @@ namespace osu.Game.Database
|
|||||||
timeout -= sleep_length;
|
timeout -= sleep_length;
|
||||||
|
|
||||||
if (timeout < 0)
|
if (timeout < 0)
|
||||||
throw new TimeoutException(@"Took too long to acquire lock");
|
throw new TimeoutException($@"Realm compact failed after {timeout / sleep_length} attempts over {timeout / 1000} seconds");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (RealmException e)
|
catch (RealmException e)
|
||||||
|
Loading…
Reference in New Issue
Block a user