Skip to content

Improve notifications - #77

Merged
rustybee42 merged 2 commits into
mainfrom
rb/dont-wait-for-notifications
Aug 14, 2026
Merged

Improve notifications#77
rustybee42 merged 2 commits into
mainfrom
rb/dont-wait-for-notifications

Conversation

@rustybee42

Copy link
Copy Markdown
Collaborator

@rustybee42
rustybee42 requested a review from philippfalk August 13, 2026 09:54
@rustybee42 rustybee42 self-assigned this Aug 13, 2026
@rustybee42
rustybee42 requested a review from a team as a code owner August 13, 2026 09:54
@rustybee42
rustybee42 force-pushed the rb/dont-wait-for-notifications branch from 89ffbcd to cd4f610 Compare August 13, 2026 10:38

@philippfalk philippfalk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good for the most part. I had some trouble understanding the new tracker mechanism which was partly caused by a misleading comment.

Comment thread shared/src/concurrency_tracker.rs Outdated
Comment thread mgmtd/src/app/runtime.rs
Comment thread mgmtd/src/bee_msg/common.rs Outdated
* Don't wait for sending out notifications in update_node() and
map_target() as server nodes only have a one second timeout before they
consider registration failed. In some systems, apparently dumping the
udp messages takes longer than that.
* Improve send_notifications() to only do one db query, not multiple,
and call broadcast_datagram() only once.
* Improve notification trace logging
@rustybee42
rustybee42 force-pushed the rb/dont-wait-for-notifications branch from 548d095 to 966b08e Compare August 14, 2026 07:04
@rustybee42
rustybee42 requested a review from philippfalk August 14, 2026 07:04
@rustybee42
rustybee42 merged commit ac85b9d into main Aug 14, 2026
5 checks passed
@rustybee42
rustybee42 deleted the rb/dont-wait-for-notifications branch August 14, 2026 07:23
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