From ba13efbc21b03f12f19f50c685c5a7e68fb0564d Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 28 Oct 2024 18:52:16 +0900 Subject: [PATCH] Reduce spammy output now that we know things work --- GlobalRankLookupCache/Controllers/BeatmapItem.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/GlobalRankLookupCache/Controllers/BeatmapItem.cs b/GlobalRankLookupCache/Controllers/BeatmapItem.cs index d852111..08033fd 100644 --- a/GlobalRankLookupCache/Controllers/BeatmapItem.cs +++ b/GlobalRankLookupCache/Controllers/BeatmapItem.cs @@ -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"; @@ -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); } }