Skip to content

Automatically restart websocket server #10450

Description

@cjreed121

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions