Skip to content

Commit

Permalink
Fixing snapshot entries number
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpert committed Sep 17, 2022
1 parent 801c0d9 commit a9c1b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/raft.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ func (r *RaftServer) config(clusterID uint64) config.Config {
ElectionRTT: 10,
HeartbeatRTT: 1,
CheckQuorum: true,
SnapshotEntries: 20,
SnapshotEntries: 10_000,
CompactionOverhead: 0,
EntryCompressionType: config.Snappy,
SnapshotCompressionType: config.Snappy,
Expand Down

0 comments on commit a9c1b36

Please sign in to comment.