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

[r2r] Multiple rpcs optimization #1653

Merged
merged 16 commits into from
Feb 15, 2023
Merged

[r2r] Multiple rpcs optimization #1653

merged 16 commits into from
Feb 15, 2023

Conversation

laruh
Copy link
Member

@laruh laruh commented Feb 12, 2023

related to #1480

Multi rpcs optimizations were added in http_transport and z_rpc

Note about send_request in http_transport. I decided its better just to call rotate_left function, if request was successful, instead of building and sending request for health check and sending request again, when we got live client.

@laruh laruh changed the title Multiple rpcs optimization [r2r] Multiple rpcs optimization Feb 14, 2023
shamardy
shamardy previously approved these changes Feb 14, 2023
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this enhancement! Only one non-blocker unrelated to your code changes :)

mm2src/coins/z_coin/z_rpc.rs Outdated Show resolved Hide resolved
Copy link

@sergeyboyko0791 sergeyboyko0791 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

onur-ozkan
onur-ozkan previously approved these changes Feb 14, 2023
Copy link
Member

@onur-ozkan onur-ozkan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, just one small note

mm2src/coins/z_coin/z_rpc.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-approve

@shamardy shamardy merged commit fb04863 into dev Feb 15, 2023
@shamardy shamardy deleted the multiple-rpcs-optimization branch February 15, 2023 12:56
@laruh laruh mentioned this pull request Feb 21, 2023
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.

4 participants