mirror of
https://github.com/osukey/osukey.git
synced 2025-05-07 22:57:31 +09: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 Task? lastSend;
|
||||||
|
|
||||||
private int totalBundledFrames;
|
|
||||||
|
|
||||||
private const int max_pending_frames = 30;
|
private const int max_pending_frames = 30;
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
@ -169,8 +167,6 @@ namespace osu.Game.Online.Spectator
|
|||||||
|
|
||||||
IsPlaying = true;
|
IsPlaying = true;
|
||||||
|
|
||||||
totalBundledFrames = 0;
|
|
||||||
|
|
||||||
// transfer state at point of beginning play
|
// transfer state at point of beginning play
|
||||||
currentState.BeatmapID = score.ScoreInfo.BeatmapInfo.OnlineID;
|
currentState.BeatmapID = score.ScoreInfo.BeatmapInfo.OnlineID;
|
||||||
currentState.RulesetID = score.ScoreInfo.RulesetID;
|
currentState.RulesetID = score.ScoreInfo.RulesetID;
|
||||||
@ -277,10 +273,6 @@ namespace osu.Game.Online.Spectator
|
|||||||
var frames = pendingFrames.ToArray();
|
var frames = pendingFrames.ToArray();
|
||||||
var bundle = new FrameDataBundle(currentScore.ScoreInfo, frames);
|
var bundle = new FrameDataBundle(currentScore.ScoreInfo, frames);
|
||||||
|
|
||||||
totalBundledFrames += frames.Length;
|
|
||||||
|
|
||||||
Logger.Log($"Purging {pendingFrames.Count} frames (total {totalBundledFrames})");
|
|
||||||
|
|
||||||
pendingFrames.Clear();
|
pendingFrames.Clear();
|
||||||
lastPurgeTime = Time.Current;
|
lastPurgeTime = Time.Current;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user