1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 03:19:55 +08:00

Add debounce to difficulty calculation operations in churn scenarios

This commit is contained in:
Dean Herbert
2025-05-19 15:55:38 +09:00
Unverified
parent c339977e98
commit 192a1642d4
7 changed files with 23 additions and 16 deletions
@@ -125,7 +125,7 @@ namespace osu.Game.Tests.Visual.UserInterface
public StarDifficulty? Difficulty { get; set; }
public override Task<StarDifficulty?> GetDifficultyAsync(IBeatmapInfo beatmapInfo, IRulesetInfo? rulesetInfo = null, IEnumerable<Mod>? mods = null,
CancellationToken cancellationToken = default)
CancellationToken cancellationToken = default, int computationDelay = 0)
=> Task.FromResult(Difficulty);
}
}