*Need to call resolveWithPeers with resolve callback handler
This commit is contained in:
parent
e77eaac0a0
commit
f3edce42fa
|
@ -48,7 +48,9 @@ async function handleReady(aq: ActiveQuery) {
|
||||||
return resolveWithPeers(resolve);
|
return resolveWithPeers(resolve);
|
||||||
}
|
}
|
||||||
|
|
||||||
proxy.node.pool.on("full", resolveWithPeers);
|
proxy.node.pool.once("full", () => {
|
||||||
|
resolveWithPeers(resolve);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
aq.respond();
|
aq.respond();
|
||||||
|
|
Loading…
Reference in New Issue