Skip to content

Commit bac6558

Browse files
ti-chi-botrleungx
andauthored
config: increase the default lease (#9173) (#9305)
close #9156 Signed-off-by: Ryan Leung <rleungx@gmail.com> Co-authored-by: Ryan Leung <rleungx@gmail.com>
1 parent 71d81bd commit bac6558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func NewConfig() *Config {
175175
}
176176

177177
const (
178-
defaultLeaderLease = int64(3)
178+
defaultLeaderLease = int64(5)
179179
defaultCompactionMode = "periodic"
180180
defaultAutoCompactionRetention = "1h"
181181
defaultQuotaBackendBytes = typeutil.ByteSize(8 * units.GiB) // 8GB

0 commit comments

Comments
 (0)