What problem are you trying to solve with Submitty
The websocket server is a long lived PHP process which can occasionally fail. This process is only restarted during installs.
Describe the way you'd like to solve this problem
We should add a cron job which restarts the web socket server every night.
Additional context
It is possible that an installation could happen at a time which conflicts with this cron job. If an install happens, the cron job should be disabled or the cron job should be aware if an installation conflicts. If they conflict the socket server could start with incomplete code or dependencies which could cause undefined behavior.
What problem are you trying to solve with Submitty
The websocket server is a long lived PHP process which can occasionally fail. This process is only restarted during installs.
Describe the way you'd like to solve this problem
We should add a cron job which restarts the web socket server every night.
Additional context
It is possible that an installation could happen at a time which conflicts with this cron job. If an install happens, the cron job should be disabled or the cron job should be aware if an installation conflicts. If they conflict the socket server could start with incomplete code or dependencies which could cause undefined behavior.