fix(server): initialize queue and pending arrays in retriever service.

This commit is contained in:
K
2026-05-03 22:43:25 +05:30
parent 4c548ebc61
commit 80aa252c3e
+4 -2
View File
@@ -48,8 +48,10 @@ class PythonRetriever extends EventEmitter {
} }
_start() { _start() {
this._ready = false; this._ready = false;
this._error = null; this._error = null;
this._queue = [];
this._pending = [];
console.log("[retriever] Starting Python daemon (first boot ~20s)..."); console.log("[retriever] Starting Python daemon (first boot ~20s)...");