Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart server for API requests on mobile #92

Merged
merged 3 commits into from Jun 11, 2020
Merged

Conversation

ricoberger
Copy link
Member

After a period of inactivity the background task for the server is stopped on mobile.

To check the health status of the server a new API endpoint /api/health was added. This endpoint is requested before each request to the server. If the status code is not OK, the server is started again before the original request is made.

Fixes #85.

After a period of inactivity the background task for the server is
stopped on mobile.

To check the health status of the server a new API endpoint
'/api/health' was added. This endpoint is requested befor each request
to the server. If the status code is not OK, the server is started again
befor the original request is made.
@ricoberger ricoberger merged commit 6b85679 into master Jun 11, 2020
@ricoberger ricoberger deleted the restart-server branch June 11, 2020 20:12
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.

Losses connect if don't do anything in a period.
1 participant