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

Have first peer connection trigger announcement broadcast #204

Open
tnull opened this issue Nov 21, 2023 · 0 comments · May be fixed by #288
Open

Have first peer connection trigger announcement broadcast #204

tnull opened this issue Nov 21, 2023 · 0 comments · May be fixed by #288

Comments

@tnull
Copy link
Collaborator

tnull commented Nov 21, 2023

Currently, we'd skip broadcasting announcements if we don't have any connected peers to broadcast to.

That is great and we'll retry every 30 seconds, however, it might result in the initial broadcast after startup being always skipped as we spawn the peer connection and broadcast tasks back-to-back, likely resulting in the first iteration of the latter always skipping due to the peers not having been connected yet.

In order to fix this, we should allow the connection task to the broadcast task so that the latter only starts once we're established our initial peer connections.

@srikanth-iyengar srikanth-iyengar linked a pull request May 2, 2024 that will close this issue
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 a pull request may close this issue.

1 participant