-
Notifications
You must be signed in to change notification settings - Fork 712
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
Update tonic to version 0.12.3 and jsonrpsee to 0.24 #4759
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that proto-rs needed an update too, from what I see it doesn't touch on the serialization of our structs, do you confirm? (that would mean it's not breaking and we don't need to have versioning, otherwise it's very tricky I think)
.max_request_size(http_config.client_config.max_request_body_size) | ||
.request_timeout(http_config.client_config.request_timeout.to_duration()) | ||
.max_concurrent_requests(http_config.client_config.max_concurrent_requests) | ||
// .max_concurrent_requests(http_config.client_config.max_concurrent_requests) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There isn't this config anymore? What's the impact?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately the field max_concurrent_requests is now private (default is set to: 256). I'll make a PR for jsonrpsee and in the mean time will document this comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect thanks ! I'll keep this comment unresolved to avoid forgetting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to wait your PR to fix this before merge on main
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.max_request_size(http_config.client_config.max_request_body_size) | ||
.request_timeout(http_config.client_config.request_timeout.to_duration()) | ||
.max_concurrent_requests(http_config.client_config.max_concurrent_requests) | ||
// .max_concurrent_requests(http_config.client_config.max_concurrent_requests) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to wait your PR to fix this before merge on main
resync_check
flag