Skip to content

Add global maintenance mode over HTTP and WebSocket#42

Open
Otaku17 wants to merge 1 commit intomainfrom
29-add-a-maintenance-mode
Open

Add global maintenance mode over HTTP and WebSocket#42
Otaku17 wants to merge 1 commit intomainfrom
29-add-a-maintenance-mode

Conversation

@Otaku17
Copy link
Copy Markdown
Collaborator

@Otaku17 Otaku17 commented Apr 27, 2026

This MR introduces a global maintenance state with a message and optional end date so clients can warn players when the server is unavailable. The status is available through GET /api/v1/maintenance, can be managed through admin endpoints, and is also exposed through WebSocket with MAINTENANCE_STATUS.

When maintenance is enabled, player-facing HTTP routes are blocked with 503, and WebSocket player connections / gameplay messages are refused. Tests and Swagger documentation were updated accordingly.

@Otaku17 Otaku17 linked an issue Apr 27, 2026 that may be closed by this pull request
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a maintenance mode

1 participant