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

fix: time gap to stop server on SIGTERM #633

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

veckatimest
Copy link
Contributor

✅ DoD

  • API docs updated na
  • Release notes updated na
  • Deployment notes updated na
  • Unit or integration tests added na
  • DB migrations tested na

(use na when API docs (Release notes, etc) do not need to be updated)

📝 Summary

In the logs there are requests that got ECONNRESET in the moment there API gets SIGTERM signal. And we know that after that there are successful finished requests. So probably requests are reset because they were dialed during the sigterm (their request time is always arount 1-2ms)
So we should allow requests to finish dialling.
And at the same time the pod is excluded from the kubernetes service, so no new requests will come.

📸 Examples

Put screenshots or response/request examples here!

🛑 Problems

  • Write any discovered & unresolved problems (link to created Jira issues)

💡 More ideas

Write any more ideas you have

@veckatimest veckatimest self-assigned this Jun 19, 2024
@veckatimest veckatimest merged commit 38da647 into develop Jun 19, 2024
3 checks passed
@veckatimest veckatimest deleted the fix/time-gap-to-stop-server branch June 19, 2024 09:08
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