1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-03-17 21:18:19 +02:00

Fix: Log total deleted messages when auto-pruning messages (--max)

This commit is contained in:
Ralph Slooten 2024-01-03 13:13:43 +13:00
parent 381813fe63
commit 119e6a55d2

View File

@ -171,6 +171,8 @@ func dbCron() {
elapsed := time.Since(start)
logger.Log().Debugf("[db] auto-pruned %d messages in %s", len(ids), elapsed)
logMessagesDeleted(len(ids))
websockets.Broadcast("prune", nil)
}
}