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

Imrpove weather data caching #1062

Merged
merged 32 commits into from
Feb 3, 2025
Merged

Imrpove weather data caching #1062

merged 32 commits into from
Feb 3, 2025

Conversation

chubin
Copy link
Owner

@chubin chubin commented Feb 3, 2025

Normalize queries to the proxy server by performing the following actions:

  1. Round the coordinates to two decimal places.
  2. Convert percent-hex encoding to their corresponding symbols.

By normalizing the queries, we can consolidate similar queries, which will reduce the query volume to the data source and therefore decrease the load (see #1061).

Additionally, this pull request includes formatting fixes using 'black'.

@chubin chubin merged commit afda320 into master Feb 3, 2025
@chubin chubin deleted the i.fixes branch February 3, 2025 13:33
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

Successfully merging this pull request may close these issues.

1 participant