mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
refactor: run InfluxDB reporter through AppMetrics instead of per-minute task
This commit is contained in:
parent
97c14b20b0
commit
38a3683fca
3 changed files with 1 additions and 4 deletions
|
|
@ -238,7 +238,5 @@ public class Bot
|
|||
|
||||
// Collect some stats, submit them to the metrics backend
|
||||
await _collector.CollectStats();
|
||||
await Task.WhenAll(((IMetricsRoot)_metrics).ReportRunner.RunAllAsync());
|
||||
_logger.Debug("Submitted metrics to backend");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue