Skip to content

python: Reuse the same httpx client #1824

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

Merged
merged 1 commit into from
Mar 18, 2025
Merged

Conversation

svix-mman
Copy link
Contributor

Reuse the httpx client for each request

For some reason we were sending each request at least 1 extra time in the async code. This is a separate bug, not sure how I missed this when I originally merged this code.
I also fixed this bug

Also bump the random bits to 64.

@svix-mman svix-mman requested a review from a team as a code owner March 18, 2025 14:43
@svix-mman svix-mman merged commit e31ace9 into main Mar 18, 2025
10 checks passed
@svix-mman svix-mman deleted the mendy/python-keep-alive branch March 18, 2025 14:55
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.

2 participants