mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:42:56 +08:00
Add retry attempts to hopefully fix windows tests runs
This commit is contained in:
parent
a4bc5a8fc9
commit
1c1ee22aa7
@ -311,9 +311,12 @@ namespace osu.Game.Database
|
||||
{
|
||||
// If this fails we allow it to block game startup.
|
||||
// It's better than any alternative we can offer.
|
||||
using (var _ = storage.GetStream(Filename, FileAccess.ReadWrite))
|
||||
FileUtils.AttemptOperation(() =>
|
||||
{
|
||||
}
|
||||
using (var _ = storage.GetStream(Filename, FileAccess.ReadWrite))
|
||||
{
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
string newerVersionFilename = $"{Filename.Replace(realm_extension, string.Empty)}_newer_version{realm_extension}";
|
||||
|
Loading…
Reference in New Issue
Block a user