Skip to content

fix gossip topic scoring#58

Merged
vladimir-ea merged 2 commits into
mainfrom
ve/disconnection
May 29, 2026
Merged

fix gossip topic scoring#58
vladimir-ea merged 2 commits into
mainfrom
ve/disconnection

Conversation

@vladimir-ea
Copy link
Copy Markdown
Collaborator

threshold was wrong for topics that average 1 msg per slot + scoring decay interval was too fast

vladimir-ea added 2 commits May 29, 2026 15:35
}

fn on_disconnected(&mut self, conn: usize, now: Instant, emit: &mut impl FnMut(PeerControl)) {
tracing::debug!("removing disconnected peer: {conn}");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Btw can we set in CI tests higher level of tracing? Looks like now they run for 12 mins and amount of logs increased

}
// Archived copy is written on the normal disconnect path fired
// downstream once the Ban takes effect; here we just drop live.
// downstream once the Ban takes ffect; here we just drop live.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

:)


// P3 — deficit below expected delivery rate, squared
mesh_message_deliveries_threshold: 20.0,
// P3 — deficit below expected delivery rate, squared.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

is P3 a Phase 3 of some implementation task? how well does this notation age?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

comes from spec

@vladimir-ea vladimir-ea merged commit c529d9e into main May 29, 2026
3 checks passed
@vladimir-ea vladimir-ea deleted the ve/disconnection branch May 29, 2026 16:05
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.

3 participants