fix worker->master connection

This commit is contained in:
Evgeny Zinoviev 2021-03-03 02:16:12 +03:00
parent bd712c4e88
commit c497fd50e8

View File

@ -364,7 +364,7 @@ function connectToMaster() {
const port = config.get('master_port')
const host = config.get('master_host')
if (!host || port) {
if (!host || !port) {
logger.debug('connectToMaster: master host or port is not defined')
return
}