From d68d1bac5531b0c57ef29f31435b567856648bb0 Mon Sep 17 00:00:00 2001 From: akvlad Date: Thu, 13 Jun 2024 16:28:21 +0300 Subject: [PATCH] debug BULK_MAX_SIZE_BYTES/BULK_MAX_AGE_MS --- lib/db/throttler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/db/throttler.js b/lib/db/throttler.js index 59104cbe..90fc492c 100644 --- a/lib/db/throttler.js +++ b/lib/db/throttler.js @@ -88,6 +88,7 @@ class TimeoutOrSizeThrottler { } const _queue = this.queue this.queue = [] + this.size = 0 await rawRequest(this.statement, _queue.join('\n'), DATABASE_NAME(), { maxBodyLength: Infinity }) }