Skip to content

Commit

Permalink
Update related commands
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Jan 24, 2024
1 parent 9bdaa24 commit 3d33f0d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 73 deletions.
2 changes: 1 addition & 1 deletion osu.ElasticIndexer/Commands/Queue/PumpAllScoresCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public int OnExecute(CancellationToken cancellationToken)
foreach (var score in scores)
{
score.country_code ??= "XX";
scoreItems.Add(new ScoreQueueItem { Score = score });
scoreItems.Add(new ScoreQueueItem { ScoreId = score.id });
}

Console.WriteLine($"Pushing {scoreItems.Count} scores");
Expand Down
71 changes: 0 additions & 71 deletions osu.ElasticIndexer/Commands/Queue/PumpFakeScoresCommand.cs

This file was deleted.

1 change: 0 additions & 1 deletion osu.ElasticIndexer/Commands/QueueCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ namespace osu.ElasticIndexer.Commands
[Subcommand(typeof(ClearQueueCommand))]
[Subcommand(typeof(WatchQueueCommand))]
[Subcommand(typeof(PumpAllScoresCommand))]
[Subcommand(typeof(PumpFakeScoresCommand))]
[Subcommand(typeof(PumpFileCommand))]
[Subcommand(typeof(PumpScoreCommand))]
public class QueueCommands
Expand Down

0 comments on commit 3d33f0d

Please sign in to comment.