Skip to content

Commit

Permalink
Actually invoke the function.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Aug 18, 2021
1 parent 14c1b65 commit b624158
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function runElection() {
elector.awaitLeadership().then(startSyncing);
elector.onduplicate = () => {
stopSyncing();
elector.die.then(runElection);
elector.die().then(runElection);
};
}

Expand Down

0 comments on commit b624158

Please sign in to comment.