Skip to content

Commit

Permalink
Merge pull request #173 from smoogipoo/non-slave-maximum-query
Browse files Browse the repository at this point in the history
Always query maximum amount when not checking slave latency
  • Loading branch information
peppy authored Nov 29, 2023
2 parents 68d3e6e + f338663 commit d3424b3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ public class ImportHighScoresCommand

public async Task<int> OnExecuteAsync(CancellationToken cancellationToken)
{
if (!CheckSlaveLatency)
scoresPerQuery = maximum_scores_per_query;

Ruleset ruleset = LegacyRulesetHelper.GetRulesetFromLegacyId(RulesetId);
string highScoreTable = LegacyDatabaseHelper.GetRulesetSpecifics(RulesetId).HighScoreTable;

Expand Down

0 comments on commit d3424b3

Please sign in to comment.