From 2a21cdc6fac126247c4551a59cfeed8a7ad82632 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 2 Mar 2021 01:48:59 +0300 Subject: jobd-master: fix poll() request to workers --- src/lib/workers-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }) -- cgit v1.2.3