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

Deleted chargers are not removed from DB #364

Open
johan12345 opened this issue Nov 9, 2024 · 0 comments
Open

Deleted chargers are not removed from DB #364

johan12345 opened this issue Nov 9, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@johan12345
Copy link
Collaborator

johan12345 commented Nov 9, 2024

If a charging station is removed from the data source, but is still present in EVMap's local DB, EVMap will keep it until the cache limit configured for the data source (24h for GoingElectric, significantly longer for the others) expires or the cache is cleared. If we receive a complete complete ChargepointList response from the API, but the DB contains more chargers for the same region and filter settings, we should delete the extra chargers from the DB directly.

reported in #363

@johan12345 johan12345 added the bug Something isn't working label Nov 9, 2024
@johan12345 johan12345 added this to the 2.0.0 milestone Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant