mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Mark several long-running tasks as long-running
This commit is contained in:
@ -272,7 +272,7 @@ namespace osu.Game.Beatmaps
|
||||
PostNotification?.Invoke(downloadNotification);
|
||||
|
||||
// don't run in the main api queue as this is a long-running task.
|
||||
Task.Run(() => request.Perform(api));
|
||||
Task.Factory.StartNew(() => request.Perform(api), TaskCreationOptions.LongRunning);
|
||||
|
||||
return request;
|
||||
}
|
||||
|
Reference in New Issue
Block a user