Skip to content

Commit

Permalink
Reduce spammy output now that we know things work
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Oct 28, 2024
1 parent ac3bdab commit ba13efb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions GlobalRankLookupCache/Controllers/BeatmapItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public BeatmapItem(int beatmapId, string highScoresTable)
using (var cmd = db.CreateCommand())
{
Interlocked.Increment(ref RankLookupController.Misses);
Console.Write("q");

cmd.CommandTimeout = 10;
cmd.CommandText = $"select count(*) from {highScoresTable} where beatmap_id = {beatmapId} and score > {score} and hidden = 0";
Expand All @@ -50,8 +49,6 @@ public BeatmapItem(int beatmapId, string highScoresTable)
cmd.CommandText = $"select count(*) from {highScoresTable} where beatmap_id = {beatmapId} and hidden = 0";
int total = (int)(long)(await cmd.ExecuteScalarAsync())!;

Console.Write("Q");

return (pos, total);
}
}
Expand Down

0 comments on commit ba13efb

Please sign in to comment.