refactor(ai-moderation): remove unused count variable in stale CB error pruning loop

This commit is contained in:
MythEclipse
2026-06-04 17:35:52 +07:00
parent 121b78198c
commit 686dc2de4f
@@ -990,7 +990,7 @@ export function startPendingAIAnalysisWorker(
// Also prune stale per-conversation CB error counts that have cooled
// down so old conversations can be retried.
for (const [key, count] of conversationConsecutiveErrors) {
for (const [key] of conversationConsecutiveErrors) {
const cbExpire = conversationErrorCooldown.get(key) ?? 0;
if (cbExpire && now >= cbExpire) {
conversationConsecutiveErrors.delete(key);