fix worker->master connection
This commit is contained in:
parent
bd712c4e88
commit
c497fd50e8
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user