Skip to content

Commit

Permalink
Misc: Increase amount of allowed time for beatmap loads
Browse files Browse the repository at this point in the history
related to fcd62a0 ?
  • Loading branch information
Piotrekol committed Jun 17, 2023
1 parent ac679d5 commit b8f666d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PpCalculator/PpCalculator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ private void PreparePlayableBeatmap(CancellationToken cancellationToken)
var mods = GetOsuMods(Ruleset).Select(m => m.CreateInstance()).Append(Ruleset.AllMods.First(m => m.Acronym == "CL").CreateInstance()).ToArray();

using var cts = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken);
cts.CancelAfter(20_000);
cts.CancelAfter(60_000);
PlayableBeatmap = WorkingBeatmap.GetPlayableBeatmap(Ruleset.RulesetInfo, mods, cts.Token);
LastMods = newMods;
ScoreInfo.Mods = mods;
Expand Down

0 comments on commit b8f666d

Please sign in to comment.