jobd-master fixes
This commit is contained in:
parent
39a2075fd9
commit
0d7a99a588
@ -126,7 +126,7 @@ class WorkersList {
|
||||
targets
|
||||
})
|
||||
)
|
||||
.then(error => {
|
||||
.catch(error => {
|
||||
this.logger.error('_pokeWorkerConnection:', error)
|
||||
})
|
||||
}
|
||||
@ -359,7 +359,7 @@ class WorkersList {
|
||||
*/
|
||||
_pauseContinueWorkers(action, targets) {
|
||||
(targets === null ? this.workers : this.getWorkersByTargets(targets))
|
||||
.map(worker => {
|
||||
.forEach(worker => {
|
||||
this.logger.debug(`${action}Targets: sending ${action} request to ${worker.connection.remoteAddr()}`)
|
||||
|
||||
let data = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user