Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

请问大佬们,cluster.on(disconnect)

$
0
0

请问大佬们,worker.isDead()在什么情况下才为true,试过了很多方法,process.kill(), process.exit() worker.kill()返回的都是false cluster.on(‘disconnect’,function (worker) { console.log(worker.isDead()) })


Viewing all articles
Browse latest Browse all 14821

Trending Articles