Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Clone in Desktop Download ZIP
Browse files

Reduce the default leader lease time

commit 73bd785f4505fb27b97b253f37d40e4922d34227 1 parent ac0300b
@armon armon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config.go
View
2  config.go
@@ -72,6 +72,6 @@ func DefaultConfig() *Config {
SnapshotInterval: 120 * time.Second,
SnapshotThreshold: 8192,
EnableSingleNode: false,
- LeaderLeaseTimeout: time.Second,
+ LeaderLeaseTimeout: 300 * time.Millisecond,
}
}

0 comments on commit 73bd785

Please sign in to comment.
Something went wrong with that request. Please try again.