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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -