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

Mark DF as failed if timestamps don't differ #5

Open
ngoerlitz opened this issue Mar 17, 2024 · 0 comments
Open

Mark DF as failed if timestamps don't differ #5

ngoerlitz opened this issue Mar 17, 2024 · 0 comments

Comments

@ngoerlitz
Copy link
Member

Currently, the cache only marks the datafeed as "failed", if there has been a rapid decrease in pilots, or the request to VATSIM's API failed outright.
Add a check to verify that the last timestamp of the datafeed is different to the current one. To allow for some discrepancy, we should trigger this at around a minute or two. I.e. if the current time is >= 120secs off the last update_timestamp, then mark the DF as "failed".

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

No branches or pull requests

1 participant