Skip to content

Conversation

mateusz834
Copy link
Contributor

The /services/server/control/restart endpoint does not stop the API immediately. As a result, a login() call may still succeed just before the restart takes effect. This change introduces an additional sleep to prevent a burst of requests from reaching the server while it is in the process of restarting.

@mateusz834 mateusz834 changed the title Always sleep while restarting Always call sleep while restarting Aug 25, 2025
@mateusz834 mateusz834 force-pushed the dev/MP/restart-always-sleep branch from 41e7604 to 890b7f7 Compare August 27, 2025 10:16
The /services/server/control/restart endpoint does not stop the API
immediately. As a result, a login() call may still succeed just before
the restart takes effect. This change introduces an additional sleep
to prevent a burst of requests from reaching the server while it is
in the process of restarting.
@mateusz834 mateusz834 force-pushed the dev/MP/restart-always-sleep branch from 890b7f7 to be871aa Compare August 27, 2025 10:23
@mateusz834 mateusz834 merged commit 3eda492 into develop Aug 27, 2025
20 of 22 checks passed
@mateusz834 mateusz834 deleted the dev/MP/restart-always-sleep branch August 27, 2025 12:02
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.

2 participants