Pm2: param `--wait-ready` not working in cluster_mode

Created on 20 May 2017  路  4Comments  路  Source: Unitech/pm2

What's going wrong?

When i run the example app wait_ready, it's not working. The app start online immediately.

How could we reproduce this issue?

cd examples/wait-ready
pm2 start ecosystem.json

Supporting information

PM2 version: `2.4.6`
Node version: `7.10.0`
Windows? Mac? Linux?
MacOS Sierra 10.12.4
Medium Pending Release Daemon Bug

Most helpful comment

from the code cluster_mode doesn't support wait-ready
https://github.com/Unitech/pm2/blob/master/lib/God.js#L194

@vmarchaud is there any reason why it is only implemented for fork mode?

All 4 comments

@vmarchaud
Hi, does cluster_mode support '--wait-ready' option ?
I find this pr: https://github.com/Unitech/pm2/pull/2472 , but the code is missing in the latest version.

@yuzhigang33 Don't know why the example doesn't work but i'm sure the code is on the latest version

from the code cluster_mode doesn't support wait-ready
https://github.com/Unitech/pm2/blob/master/lib/God.js#L194

@vmarchaud is there any reason why it is only implemented for fork mode?

Published under PM2 2.5

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phra picture phra  路  3Comments

webchaz picture webchaz  路  3Comments

lefam picture lefam  路  3Comments

ldarren picture ldarren  路  3Comments

xzycn picture xzycn  路  3Comments