fix(server): initialize queue and pending arrays in retriever service.
This commit is contained in:
@@ -50,6 +50,8 @@ 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)...");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user