App keeps getting down after a while
I'm running a node express application on replit shell but it keeps getting down after a while, I'm not able to figure-out why this is happening..
Error: Connection lost: The server closed the connection.
I assume that has something to do with
mysql. It's not necessarily a problem with your code; perhaps the SQL server you are using has some issues.
Try forking the repl, and make sure your code has no errors.
Recently repl has been slow for me, and downtime is probably connected to that.
However, having Hacker does help, it gives you the boost feature which for me has fixed most issuse.