feat: better error reporting settings

This commit is contained in:
spiral
2022-01-21 00:10:51 -05:00
parent f9aba1f129
commit 4a739c2d61
2 changed files with 1 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ public class ErrorMessageService
{
// globally rate limit errors for now, don't want to spam users when something breaks
private static readonly Duration MinErrorInterval = Duration.FromSeconds(10);
private static readonly Duration IntervalFromStartup = Duration.FromMinutes(5);
private static readonly Duration IntervalFromStartup = Duration.FromMinutes(2);
private readonly ILogger _logger;
private readonly BotConfig _botConfig;