Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
ssg
Commits
d3bfd230
Commit
d3bfd230
authored
Apr 24, 2017
by
Shane Snyder
Browse files
allow subgroup sizes of zero
parent
af1b4875
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/swim-fd/swim-fd.c
View file @
d3bfd230
...
...
@@ -190,7 +190,7 @@ static void swim_tick_ult(
/* if we don't hear back from the target after an RTT, kick off
* a set of indirect pings to a subgroup of group members
*/
if
(
!
(
swim_ctx
->
ping_target_acked
))
if
(
!
(
swim_ctx
->
ping_target_acked
)
&&
(
swim_ctx
->
prot_subgroup_sz
>
0
)
)
{
/* get a random subgroup of members to send indirect pings to */
int
this_subgroup_sz
=
swim_get_rand_group_member_set
(
s
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment