Update index.js

This commit is contained in:
2025-09-05 22:53:23 -07:00
committed by GitHub
parent 4e2f8c6cbe
commit e604e2742d

View File

@@ -2,7 +2,7 @@ import OpenAI from 'openai';
const TTL_MS = 20 * 60 * 1000; const TTL_MS = 20 * 60 * 1000;
const BATCH_MS = 400; const BATCH_MS = 400;
const BATCH_BYTES = 4096; const BATCH_BYTES = 3600;
// SNAPSHOT_MIN_MS is no longer needed as we removed throttled saving. // SNAPSHOT_MIN_MS is no longer needed as we removed throttled saving.
// Heartbeat configuration: run every 4s while streaming to prevent eviction. // Heartbeat configuration: run every 4s while streaming to prevent eviction.