Skip to content

Commit

Permalink
Turn off raft autorecovery
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <[email protected]>
  • Loading branch information
cole-miller committed Aug 9, 2023
1 parent 81c8f25 commit 63929d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ func main() {
app.WithRolesAdjustmentFrequency(time.Second),
app.WithSnapshotParams(dqlite.SnapshotParams{Threshold: 128, Trailing: 1024}),
app.WithDiskMode(*disk != 0),
app.WithAutoRecovery(false),
}

// When rejoining set app.WithCluster() to the full list of existing
Expand Down

0 comments on commit 63929d5

Please sign in to comment.