Skip to content

blocksync: retry requests after timeout (backport #9518) - #9534

Merged
sergio-mena merged 2 commits into
v0.34.xfrom
mergify/bp/v0.34.x/pr-9518
Oct 10, 2022
Merged

sergio-mena merged 2 commits into
v0.34.xfrom
mergify/bp/v0.34.x/pr-9518

Conversation

@mergify

@mergify mergify Bot commented Oct 10, 2022

Copy link
Copy Markdown
Contributor

This is an automatic backport of pull request #9518 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

* blocksync: retry requests after timeout

* Minimize changes to re-send block request after timeout

* TO REVERT: reduce queue capacity

* Add reset

* Revert "TO REVERT: reduce queue capacity"

This reverts commit dd0fee5.

* 30 seconds

* don't reset the timer

* Update blocksync/pool.go

Co-authored-by: Callum Waters <[email protected]>

Co-authored-by: Sergio Mena <[email protected]>
Co-authored-by: Callum Waters <[email protected]>
(cherry picked from commit a371b1e)
@mergify
mergify Bot requested a review from a team October 10, 2022 12:59

@cmwaters cmwaters left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we also add a short changelog to this

@sergio-mena

Copy link
Copy Markdown
Contributor

Can we also add a short changelog to this

Good point. Thanks for reminding!

@cmwaters cmwaters left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks

@sergio-mena
sergio-mena merged commit a28c987 into v0.34.x Oct 10, 2022
@sergio-mena
sergio-mena deleted the mergify/bp/v0.34.x/pr-9518 branch October 10, 2022 13:24
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