From b666b43000b68dafcbd37a0a07f32ae026345951 Mon Sep 17 00:00:00 2001 From: jetsparrow Date: Fri, 15 Nov 2024 18:30:35 +0300 Subject: [PATCH] Stop TimeoutManager spam --- JetKarmaBot/Services/Handling/TimeoutManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JetKarmaBot/Services/Handling/TimeoutManager.cs b/JetKarmaBot/Services/Handling/TimeoutManager.cs index ac7cadf..7f9fbee 100644 --- a/JetKarmaBot/Services/Handling/TimeoutManager.cs +++ b/JetKarmaBot/Services/Handling/TimeoutManager.cs @@ -80,7 +80,7 @@ namespace JetKarmaBot.Services.Handling } public async Task Save(CancellationToken ct = default(CancellationToken)) { - log.Info("Saving timeout info to database"); + log.Debug("Saving timeout info to database"); using (KarmaContext db = Db.GetContext()) { foreach (var i in TimeoutCache.Keys) @@ -89,7 +89,7 @@ namespace JetKarmaBot.Services.Handling } await db.SaveChangesAsync(ct); } - log.Info("Saved"); + log.Debug("Saved timeout info to database"); } public async Task SaveLoop(CancellationToken ct = default(CancellationToken)) {