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

refactor(pruner): reset maxHeadersPerLoop properly #3552

Merged
merged 3 commits into from
Jul 8, 2024

Conversation

cristaloleg
Copy link
Contributor

We were resetting maxHeadersPerLoop to a different value (1024) which has no relations to the default value (512). Which isn't that bad because it's a test but still we have a side-effect in the TestPrune_LargeNumberOfBlocks test.

Also, changing type of maxHeadersPerLoop to int 'cause in most places we use it as an int and not int64.

@cristaloleg cristaloleg added the kind:refactor Attached to refactoring PRs label Jul 4, 2024
@cristaloleg cristaloleg self-assigned this Jul 4, 2024
@renaynay
Copy link
Member

renaynay commented Jul 4, 2024

thank you!

@renaynay renaynay enabled auto-merge (squash) July 5, 2024 12:37
@renaynay renaynay merged commit a81a43e into main Jul 8, 2024
28 of 29 checks passed
@renaynay renaynay deleted the pruner/reset-maxHeadersPerLoop-properly branch July 8, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:refactor Attached to refactoring PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants