Skip to content

Commit

Permalink
Timeout pending
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardalee committed Jan 24, 2024
1 parent 676ce07 commit ef261c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/C/src/leader-election/NRP_FD.lf
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ reactor Node(
=}

reaction(ping_timed_out) -> out, new_NRP_request_timed_out, reset(Failed) {=
self->ping_timeout_pending = false;
if (self->ping_pending) {
// Ping timed out.
lf_print(PRINTF_TIME ": Backup node %d gets no response from ping.", lf_time_logical_elapsed(), self->id);
Expand Down

0 comments on commit ef261c8

Please sign in to comment.