mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat: move scheduled tasks to separate project
This commit is contained in:
parent
362770eef0
commit
3bc451eb4b
13 changed files with 1560 additions and 42 deletions
|
|
@ -260,7 +260,7 @@ namespace PluralKit.Bot
|
|||
{
|
||||
// i'm just going to disable this for now we need to find something nicer
|
||||
// await _errorMessageService.SendErrorMessage(reportChannel.Value,
|
||||
// sentryEvent.EventId.ToString());
|
||||
// sentryEvent.EventId.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -272,9 +272,6 @@ namespace PluralKit.Bot
|
|||
|
||||
await UpdateBotStatus();
|
||||
|
||||
// Clean up message cache in postgres
|
||||
await _commandMessageService.CleanupOldMessages();
|
||||
|
||||
// Collect some stats, submit them to the metrics backend
|
||||
await _collector.CollectStats();
|
||||
await Task.WhenAll(((IMetricsRoot)_metrics).ReportRunner.RunAllAsync());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue