-
Notifications
You must be signed in to change notification settings - Fork 20
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
On fetch failure the previous result is discarted #31
Comments
Yes, this could make sense, but I think we would have to specify a time for which the old data is still "fresh enough" to be kept. |
Well, marking it stale can be done immediately either way .. no upcoming trains known anymore is the ultimate error state .. |
I want to have this feature and I'm going to implement this at some time... Summer and the upcoming festival season cuts time for me. So any contribution is welcome! Please feel free to make PR. :) I'm adding the "Help wanted" label now.. |
This could be nicely implemented with Let's see, when the sqlite version is out and check if this is not overkill... |
So, a small update on that: Although I would like to wait until the SQLite datastore is implemented, so we don't have to bother MagicMirror-users to install a Redis server on their machines. With SQLite we will probably be able to automate all this. |
seems like the sqlite backend is available now! :) |
I keep seeing fetch failures (400), while the data from the previous fetch would still be current enough to display something ..
Maybe keeping the last result until the next successful fetch would make sense?
The text was updated successfully, but these errors were encountered: