chore: no staged changes
This commit is contained in:
@@ -595,7 +595,8 @@ async function processBatch(
|
|||||||
messages: MessageRecord[],
|
messages: MessageRecord[],
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
if (messages.length === 0) return;
|
if (messages.length === 0) return;
|
||||||
if (Date.now() < globalCooldownUntil) {
|
const cooldownUntil = conversationErrorCooldown.get(conversationKey) ?? 0;
|
||||||
|
if (Date.now() < cooldownUntil) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user