mirror of
https://github.com/Jetsparrow/karmabot.git
synced 2026-01-21 00:56:09 +03:00
Stop TimeoutManager spam
This commit is contained in:
parent
e905b8583d
commit
b666b43000
@ -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))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user