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

flush_interval for ReqSocket and RepSocket #14 #30

Merged
merged 6 commits into from
Nov 8, 2023

Conversation

quangkeu95
Copy link
Contributor

@quangkeu95 quangkeu95 commented Nov 6, 2023

Tasks

  • Add flush_interval field in ReqOptions, default None
  • Respect flush_interval in req::Driver
    - [x] Add flush_interval field in RepOptions, default None
    - [x] Respect flush_interval in rep::PeerState

Update
Setting flush_interval for RepOptions results in benchmark throughput decreased. The reason is unknown yet and will investigate later.

@mempirate
Copy link
Contributor

Hey, thanks for the PR, looking good :)

@mempirate
Copy link
Contributor

Updated the scope a little bit: #14 (comment)

@quangkeu95
Copy link
Contributor Author

Updated the PR!

Copy link
Contributor

@mempirate mempirate left a comment

Choose a reason for hiding this comment

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

Ty, minor change requested

Copy link
Contributor

@mempirate mempirate left a comment

Choose a reason for hiding this comment

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

LGTM! Added some minor changes myself

@mempirate mempirate merged commit 55e99da into chainbound:main Nov 8, 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.

2 participants