mirror of
https://github.com/iflytek/skillhub.git
synced 2026-08-28 11:25:00 +00:00
chore(logging): include idempotency cleanup threshold
This commit is contained in:
parent
6dc62ddfb8
commit
7e23508a32
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue