We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 342997e commit 115211fCopy full SHA for 115211f
1 file changed
worker.js
@@ -38,7 +38,7 @@ self.postMessage({ status: "loading_model_ready", voices: tts.voices, device });
38
39
// --- THIS IS THE MEMORY-SAFE QUEUE LOGIC ---
40
let bufferQueueSize = 0;
41
-const MAX_QUEUE_SIZE = 12; // Work ahead by 6 chunks (This is already set correctly)
+const MAX_QUEUE_SIZE = 6; // Work ahead by 6 chunks (This is already set correctly)
42
let shouldStop = false;
43
// --- END QUEUE LOGIC ---
44
0 commit comments