Skip to content

Commit

Permalink
Fix code format
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Turin <[email protected]>
  • Loading branch information
pieturin committed Dec 13, 2024
1 parent 64903fe commit e9b1b3c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/cluster_legacy.c
Original file line number Diff line number Diff line change
Expand Up @@ -4023,8 +4023,10 @@ void clusterSendPing(clusterLink *link, int type) {
clusterMsg *hdr = &msgblock->msg;

if (!link->inbound) {
if (type == CLUSTERMSG_TYPE_PING) link->node->ping_sent = mstime();
else if (type == CLUSTERMSG_TYPE_MEET) link->node->meet_sent = mstime();
if (type == CLUSTERMSG_TYPE_PING)
link->node->ping_sent = mstime();
else if (type == CLUSTERMSG_TYPE_MEET)
link->node->meet_sent = mstime();
}

/* Populate the gossip fields */
Expand Down

0 comments on commit e9b1b3c

Please sign in to comment.