Improve performance and reduce request latency#1174
Open
seanmercier777 wants to merge 1 commit intochubin:masterfrom
Open
Improve performance and reduce request latency#1174seanmercier777 wants to merge 1 commit intochubin:masterfrom
seanmercier777 wants to merge 1 commit intochubin:masterfrom
Conversation
- Add 5-second timeouts to all HTTP requests in location.py to prevent hanging on slow/unresponsive external services - Use requests.Session() for connection pooling, reducing TCP overhead - Add timeout to Go HTTP client in nominatim.go for geocoding requests - Remove debug print() statement in cache.py that caused blocking I/O on every request - Replace unmaintained pyjq with maintained jq package (same API) These changes address latency issues where requests could take 15-20 seconds due to external API calls without timeouts blocking indefinitely. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These changes address latency issues where requests could take 15-20 seconds due to external API calls without timeouts blocking indefinitely.
🤖 Generated with Claude Code