mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Merge branch 'main' into dev
This commit is contained in:
@@ -1814,6 +1814,7 @@ func (n *raft) runAsFollower() {
|
||||
if n.catchupStalled() {
|
||||
n.cancelCatchup()
|
||||
}
|
||||
n.resetElectionTimeout()
|
||||
n.Unlock()
|
||||
} else {
|
||||
n.switchToCandidate()
|
||||
|
||||
Reference in New Issue
Block a user