mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 17:52:56 +08:00
Remove verbose logging from SpectatorClient
for now
This commit is contained in:
parent
e947c97e10
commit
67082b8c5d
@ -86,8 +86,6 @@ namespace osu.Game.Online.Spectator
|
||||
|
||||
private Task? lastSend;
|
||||
|
||||
private int totalBundledFrames;
|
||||
|
||||
private const int max_pending_frames = 30;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
@ -169,8 +167,6 @@ namespace osu.Game.Online.Spectator
|
||||
|
||||
IsPlaying = true;
|
||||
|
||||
totalBundledFrames = 0;
|
||||
|
||||
// transfer state at point of beginning play
|
||||
currentState.BeatmapID = score.ScoreInfo.BeatmapInfo.OnlineID;
|
||||
currentState.RulesetID = score.ScoreInfo.RulesetID;
|
||||
@ -277,10 +273,6 @@ namespace osu.Game.Online.Spectator
|
||||
var frames = pendingFrames.ToArray();
|
||||
var bundle = new FrameDataBundle(currentScore.ScoreInfo, frames);
|
||||
|
||||
totalBundledFrames += frames.Length;
|
||||
|
||||
Logger.Log($"Purging {pendingFrames.Count} frames (total {totalBundledFrames})");
|
||||
|
||||
pendingFrames.Clear();
|
||||
lastPurgeTime = Time.Current;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user