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

add AuthorityAggregatorBuilder #5233

Merged
merged 3 commits into from
Oct 17, 2022
Merged

add AuthorityAggregatorBuilder #5233

merged 3 commits into from
Oct 17, 2022

Conversation

longbowlu
Copy link
Collaborator

This PR does a few things:

  1. add AuthorityAggregatorBuilder
  2. replace test_authority_aggregators and similar codes with AuthorityAggregatorBuilder
  3. update stress binary to use genesis.blob instead of gateway.yaml, to cut dependencies on gateway related stuff.

Note that with this change, the local bench no longer stores anything to disk, unlike before it persists the gateway.yaml

@longbowlu longbowlu enabled auto-merge (squash) October 17, 2022 21:39
@longbowlu longbowlu force-pushed the stress-use-genesis-blob branch from b29ec03 to 73fe833 Compare October 17, 2022 21:58
@longbowlu longbowlu merged commit d863344 into main Oct 17, 2022
@longbowlu longbowlu deleted the stress-use-genesis-blob branch October 17, 2022 22:10
ebmifa pushed a commit that referenced this pull request Oct 19, 2022
* use genesis.blob to set up remote bench

* add AuthorityAggregatorBuilder
mwtian added a commit that referenced this pull request Oct 19, 2022
Comment on lines -280 to -281
send_timeout: Duration::from_secs(4),
recv_timeout: Duration::from_secs(4),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

^

Copy link
Contributor

Choose a reason for hiding this comment

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

If there is no clue for why this is causing more timeout errors, let's just try setting this to 30s.

Comment on lines -295 to -296
gateway_config.send_timeout,
gateway_config.recv_timeout,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

^

mwtian added a commit that referenced this pull request Oct 19, 2022
andll pushed a commit that referenced this pull request Oct 19, 2022
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.

3 participants