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

Weather alerts cached too long #125

Open
we7u opened this issue May 14, 2019 · 0 comments
Open

Weather alerts cached too long #125

we7u opened this issue May 14, 2019 · 0 comments

Comments

@we7u
Copy link
Member

we7u commented May 14, 2019

Weather alerts are cached with a time-stamp in several files. If Xastir is shut down for a period of time and then started, it may bring display weather alerts that should have already expired. We should check the timestamps, load only if they're within a specific window of time, plus actively delete expired alerts from the cache files.
~/.xastir/logs/wx_alert.log
~/.xastir/logs/wx_alert.log.1
~/.xastir/logs/wx_alert.log.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant