Skip to content

Conversation

zack13532
Copy link
Collaborator

@zack13532 zack13532 commented Nov 22, 2024

This is effectively the same as maxRequestsPerHost, since the host for an instantiated TectonClient is always the same. Fixes a bug where the user-specified maxParallelRequests is greater than the default of 64 maxRequests, and so doesn't take effect.

@zack13532
Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@zack13532 zack13532 changed the title Set maxRequests for OkHttp dispatcher to the same value as maxParallelRequests Set maxRequests for OkHttp dispatcher to maxParallelRequests Nov 22, 2024
@zack13532 zack13532 requested a review from poojabhat0 November 22, 2024 20:38
@zack13532 zack13532 marked this pull request as ready for review November 22, 2024 20:38
@zack13532 zack13532 requested a review from emmap321 November 25, 2024 16:52
@zack13532 zack13532 merged commit 4be01c2 into main Nov 25, 2024
4 checks passed
@zack13532
Copy link
Collaborator Author

Merge activity

  • Nov 25, 12:24 PM EST: A user merged this pull request with Graphite.

@zack13532 zack13532 deleted the 11-22-set_maxrequests_for_okhttp_dispatcher_to_the_same_value_as_maxparallelrequests branch November 25, 2024 17:24
zack13532 added a commit that referenced this pull request Nov 27, 2024
Added usage examples to the readme and bump the version in preparation to release a [fix](#88) for setting max requests.

Released a snapshot for 0.9.2-SNAPSHOT and successfully tested it with the [demo repo](https://github.com/tecton-ai/tecton-http-client-demo).
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