shell-bot icon indicating copy to clipboard operation
shell-bot copied to clipboard

Keepalive

Open retrojon opened this issue 4 years ago • 2 comments

Hi there,

After running node server for several hours I find that the connection stalls, e.g. possibly that my ISP IP has renewed. How can shell-bot be made to be robust, maybe every 15 minutes checking for connection to telegram then if no response it can reload the node service.

Many thanks

retrojon avatar Nov 30 '21 12:11 retrojon

How about this https://www.npmjs.com/package/pm2?

dimasyudhatech avatar Jan 22 '22 13:01 dimasyudhatech