diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-03-02 01:48:59 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-03-02 01:48:59 +0300 |
commit | 2a21cdc6fac126247c4551a59cfeed8a7ad82632 (patch) | |
tree | d917e3b262344e7bd6c444e10615bc59ad571e70 | |
parent | 59ee609986e9c713826392260120075d17e45dd4 (diff) |
jobd-master: fix poll() request to workers
-rw-r--r-- | src/lib/workers-list.js | 2 |
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 }) |