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

Accept /state requests in create_outlier_event #1231

Merged
merged 6 commits into from
Mar 31, 2022

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Mar 31, 2022

A follow-up to #1223: Another place that we can get /state requests.

A follow-up to #1223: Another place that we can get `/state` requests.
@richvdh richvdh requested a review from a team as a code owner March 31, 2022 11:31
@richvdh richvdh changed the title Accept /state reqeusts in create_outlier_event Accept /state requests in create_outlier_event Mar 31, 2022
Copy link
Contributor

@squahtx squahtx left a comment

Choose a reason for hiding this comment

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

lgtm!

tests/50federation/00prepare.pl Outdated Show resolved Hide resolved
tests/50federation/00prepare.pl Outdated Show resolved Hide resolved
`/state` may come in as soon as we respond to `/state_ids`, so we need to add
the listener earlier.
@squahtx squahtx self-assigned this Mar 31, 2022
Per comments on #1231: we ought to set up the listeners for `/state`
earlier. We also create a helper function to make it easier.
@richvdh richvdh requested a review from squahtx March 31, 2022 14:56
tests/50federation/36state.pl Outdated Show resolved Hide resolved
tests/50federation/00prepare.pl Outdated Show resolved Hide resolved
tests/50federation/00prepare.pl Outdated Show resolved Hide resolved
Copy link
Contributor

@squahtx squahtx left a comment

Choose a reason for hiding this comment

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

lgtm!

@richvdh
Copy link
Member Author

richvdh commented Mar 31, 2022

Thanks!

@richvdh richvdh merged commit 81c3c06 into develop Mar 31, 2022
@richvdh richvdh deleted the rav/faster_joins/05_optimise_get_state branch March 31, 2022 17:09
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