chore(logging): include idempotency cleanup threshold

This commit is contained in:
Xudong Sun 2026-06-08 17:31:07 +08:00 committed by GitHub
parent 6dc62ddfb8
commit 7e23508a32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ public class IdempotencyCleanupTask {
Instant threshold = Instant.now(clock).minusSeconds(STALE_THRESHOLD_MINUTES * 60);
int updated = idempotencyRecordRepository.markStaleAsFailed(threshold);
if (updated > 0) {
logger.info("Marked {} stale processing records as failed", updated);
logger.info("Marked {} stale processing records as failed before threshold={}", updated, threshold);
}
}
}