Merge pull request #6452 from bobhauser/stop-default-bookmark-queue-purger-log-spamming

Stop DefaultBookmarkQueuePurger log spamming
This commit is contained in:
Sipke Schoorstra 2025-03-02 14:48:53 +01:00 committed by GitHub
commit 2aab2e0147
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@ public class DefaultBookmarkQueuePurger(IBookmarkQueueStore store, ISystemClock
var now = systemClock.UtcNow;
var thresholdDate = now - options.Value.Ttl;
logger.LogInformation("Purging bookmark queue items older than {ThresholdDate}.", thresholdDate);
logger.LogDebug("Purging bookmark queue items older than {ThresholdDate}.", thresholdDate);
while (true)
{
@ -46,6 +46,6 @@ public class DefaultBookmarkQueuePurger(IBookmarkQueueStore store, ISystemClock
currentPage++;
}
logger.LogInformation("Finished purging bookmark queue items.");
logger.LogDebug("Finished purging bookmark queue items.");
}
}