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

Small fixes for libp2p network backend #280

Merged
merged 4 commits into from
Aug 7, 2023
Merged

Small fixes for libp2p network backend #280

merged 4 commits into from
Aug 7, 2023

Conversation

zeegomo
Copy link
Contributor

@zeegomo zeegomo commented Jul 31, 2023

No description provided.

zeegomo and others added 3 commits August 3, 2023 16:18
Waku does that and it's kind of convenient not to handle ourselves
in a different way from the rest.
When receiving messages coming from libp2p IWANT requests, it's
common to receive a burst of packest which can cause subscribers
to lag. To account for that, let's increase the buffer in the
broadcast channel.
@zeegomo zeegomo merged commit 4a3d677 into master Aug 7, 2023
2 checks passed
zeegomo added a commit that referenced this pull request Aug 7, 2023
* Generate network events for self messages

Waku does that and it's kind of convenient not to handle ourselves
in a different way from the rest.

* Use bigger buffer + fmt

When receiving messages coming from libp2p IWANT requests, it's
common to receive a burst of packest which can cause subscribers
to lag. To account for that, let's increase the buffer in the
broadcast channel.

* Check if topic is being subscribed before self-notification (#292)

* fmt

---------

Co-authored-by: Youngjoon Lee <taxihighway@gmail.com>
@youngjoon-lee youngjoon-lee deleted the libp2p-self-notif branch September 1, 2023 00:22
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.

None yet

3 participants