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

Periodically check for data updates #47

Closed
flbraun opened this issue Dec 11, 2023 · 0 comments · Fixed by #48
Closed

Periodically check for data updates #47

flbraun opened this issue Dec 11, 2023 · 0 comments · Fixed by #48
Labels
electron Related to the electron part of the app enhancement New feature or request

Comments

@flbraun
Copy link
Owner

flbraun commented Dec 11, 2023

Currently PoE Palette only checks for new search data on startup. For users who have PoE Palette running in the background for long periods of time this means that they'll miss out on new data (it's re-calculated daily).

Implement a periodic check, and download and rebuild the local search index when a new data file is found.

@flbraun flbraun added enhancement New feature or request electron Related to the electron part of the app labels Dec 11, 2023
flbraun added a commit that referenced this issue Dec 17, 2023
Data for the search index is recalculated every 24 hours and made available to the clients via Cloudfront. Previously, the client would only get the latest data when starting the app, meaning users with long-running clients would miss out on the daily updates.
Implement a HEAD check for newer data of the currently selected league and load it when found.

Resolves #47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electron Related to the electron part of the app enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant