pm2 watch + 集群模式重载还是重启?
pm2 watch + Cluster Mode reload or restart?
如果我在 Cluster Mode 和 --watch
上,当文件更新时,pm2 会自动重启应用程序,还是重新加载(0 停机时间)应用程序?
它将重新启动应用程序
无 0 停机重载
来自文档:
Note : Watching system does not provide any graceful action, pm2 kills and restarts your application without sending SIGINT
如果我在 Cluster Mode 和 --watch
上,当文件更新时,pm2 会自动重启应用程序,还是重新加载(0 停机时间)应用程序?
它将重新启动应用程序
无 0 停机重载
来自文档:
Note : Watching system does not provide any graceful action, pm2 kills and restarts your application without sending SIGINT