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 bug in routers replying to peers liveliness queries #1233

Merged
merged 6 commits into from
Jul 16, 2024

Conversation

OlivierHecart
Copy link
Contributor

No description provided.

@OlivierHecart OlivierHecart marked this pull request as ready for review July 8, 2024 19:59
@OlivierHecart OlivierHecart changed the title Fix bug in routers replying to peers livaliness queries Fix bug in routers replying to peers liveliness queries Jul 8, 2024
liveliness_node.name = format!("Liveliness {node1_mode}");
liveliness_node.con_task =
ConcurrentTask::from([SequentialTask::from([Task::Liveliness(
ke_getliveliness.clone(),
)])]);
liveliness_node.warmup += Duration::from_millis(rng.gen_range(0..500));

(pub_node, queryable_node, liveliness_node)
let mut livelinessloop_node = base;
Copy link

Choose a reason for hiding this comment

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

This is a drive by. not using base.clone() here ?

@Mallets Mallets merged commit efffcb3 into dev/1.0.0 Jul 16, 2024
23 checks passed
@Mallets Mallets deleted the bug/liveliness_fix branch July 16, 2024 07:50
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