summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/workers-list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/workers-list.js b/src/lib/workers-list.js
index ed436e0..b27dbf3 100644
--- a/src/lib/workers-list.js
+++ b/src/lib/workers-list.js
@@ -109,7 +109,7 @@ class WorkersList {
*/
_pokeWorkerConnection(connection, targets) {
this.logger.debug('_pokeWorkerConnection:', connection.remoteAddr(), targets)
- connection.send(
+ connection.sendRequest(
new RequestMessage('poll', {
targets
})