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: trickle publisher keys to swarm #191

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

nathanielc
Copy link
Collaborator

Instead of sending all 1000 keys in a batch in one iteration of the swarm loop send one. This way the swarm can continue to process other concurrent work. Tests show this is still fast enough to send out all publish queries within a few seconds.

Copy link

linear bot commented Nov 17, 2023

WS1-1339 DHT flaky tests

We believe the DHT publish logic is starving the swarm task. We should run it on its own task.

DOD:

  • End-to-End tests consistently pass with DHT changes

Instead of sending all 1000 keys in a batch in one iteration of the
swarm loop send one. This way the swarm can continue to process other
concurrent work. Tests show this is still fast enough to send out all
publish queries within a few seconds.
Copy link
Collaborator

@smrz2001 smrz2001 left a comment

Choose a reason for hiding this comment

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

:shipit:

@nathanielc nathanielc added this pull request to the merge queue Nov 17, 2023
Merged via the queue into main with commit c24f2a6 Nov 17, 2023
4 checks passed
@nathanielc nathanielc deleted the feature/ws1-1339-dht-flaky-tests branch November 17, 2023 17:26
@smrz2001 smrz2001 mentioned this pull request Jan 23, 2024
@github-actions github-actions bot mentioned this pull request Feb 6, 2024
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