mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-11-23 18:29:39 +00:00
try to reduce memory fragmentation in metrics
This commit is contained in:
parent
222b24041b
commit
e6348937db
@ -73,6 +73,7 @@ namespace CompatBot
|
||||
tc.TrackMetric("time-since-last-incoming-message", TimeSinceLastIncomingMessage.ElapsedMilliseconds);
|
||||
tc.TrackMetric("gc-total-memory", GC.GetTotalMemory(false));
|
||||
tc.TrackMetric("github-limit-remaining", GithubClient.Client.RateLimitRemaining);
|
||||
tc.Flush();
|
||||
}
|
||||
} while (!Config.Cts.IsCancellationRequested);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user