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 resilience #9

Open
fishcharlie opened this issue Dec 21, 2023 · 0 comments
Open

Restart resilience #9

fishcharlie opened this issue Dec 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@fishcharlie
Copy link
Owner

Currently if we restart the service (for deploying an update) and during that restart (normally only takes a few seconds or so), the FAA posts a new delay, we will miss it.

This is because when the service starts, it gets the delays from the FAA, and that first request won't generate any posts.

We should check to see if we already have a (recent) cached version of the delays from the FAA, and use that on first run instead. If it's not recent, we will have to revert to that slight delay (as to not post duplicate messages).

@fishcharlie fishcharlie added the enhancement New feature or request label Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant