crossbar - How to restart a crashed guest worker automatically? -
i not know if within range or possibilities of crossbar, there should way automatically restart worker has crashed. find "watch" option, seems serves when changed in filesystem. in case running javascript node application , if unexpected error occurs restart automatically. moment receive message "guest worker-xxx exited error process has ended probable error condition" , application remains down, have restart crossbar restart it.
to try different, tried run through pm2 (https://github.com/unitech/pm2), not think it's right way.
what way automatically supervise , restart workers?
Comments
Post a Comment