From e604e2742df6c63b83c797bb2ef7a7a6ba1993c3 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Fri, 5 Sep 2025 22:53:23 -0700 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 387baea..9dbb09c 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,7 @@ import OpenAI from 'openai'; const TTL_MS = 20 * 60 * 1000; const BATCH_MS = 400; -const BATCH_BYTES = 4096; +const BATCH_BYTES = 3600; // SNAPSHOT_MIN_MS is no longer needed as we removed throttled saving. // Heartbeat configuration: run every 4s while streaming to prevent eviction.