chore: no staged changes
This commit is contained in:
1 parent
55042ca9eb
commit
a4e91822f6
1 file changed
+2
-1
@@ -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