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

fix: immediately refill slots #6997

Merged
merged 3 commits into from
Mar 6, 2024
Merged

fix: immediately refill slots #6997

merged 3 commits into from
Mar 6, 2024

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Mar 6, 2024

ref #6987

this changes the refill interval to start right away and not now + interval, triggering a refill immediately.

this speeds up tests and is the correct behaviour in case the node launched with existing peers

@mattsse mattsse added C-perf A change motivated by improving speed, memory usage or disk footprint A-networking Related to networking in general labels Mar 6, 2024
@mattsse mattsse requested a review from DaniPopes March 6, 2024 12:20
@mattsse mattsse requested a review from DaniPopes March 6, 2024 12:54
crates/net/network/src/peers/manager.rs Outdated Show resolved Hide resolved
@mattsse mattsse enabled auto-merge March 6, 2024 13:06
@mattsse mattsse added this pull request to the merge queue Mar 6, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 6, 2024
@mattsse mattsse added this pull request to the merge queue Mar 6, 2024
Merged via the queue into main with commit c7826cb Mar 6, 2024
29 checks passed
@mattsse mattsse deleted the matt/fix-slot-refill-interval branch March 6, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-networking Related to networking in general C-perf A change motivated by improving speed, memory usage or disk footprint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants