Address moar comments
This commit is contained in:
+1
-1
@@ -286,7 +286,7 @@ var (
|
||||
DefaultNetworkTimeout = 100 * time.Second
|
||||
DefaultCommitRetryDelay = 200 * time.Millisecond
|
||||
DefaultBackupsRotate = 6
|
||||
DefaultDatastoreNamespace = "/r" // from "/raft"
|
||||
DefaultDatastoreNamespace = "/raft"
|
||||
)
|
||||
|
||||
func DefaultClusterRaftConfig() *ClusterRaftConfig {
|
||||
|
||||
@@ -146,14 +146,14 @@ initialized or when starting in staging mode.`,
|
||||
},
|
||||
{
|
||||
Num: "WaitForLeaderTimeout",
|
||||
Type: "time.Duration",
|
||||
Type: "Duration",
|
||||
|
||||
Comment: `LeaderTimeout specifies how long to wait for a leader before
|
||||
failing an operation.`,
|
||||
},
|
||||
{
|
||||
Num: "NetworkTimeout",
|
||||
Type: "time.Duration",
|
||||
Type: "Duration",
|
||||
|
||||
Comment: `NetworkTimeout specifies how long before a Raft network
|
||||
operation is timed out`,
|
||||
@@ -167,7 +167,7 @@ we give up.`,
|
||||
},
|
||||
{
|
||||
Num: "CommitRetryDelay",
|
||||
Type: "time.Duration",
|
||||
Type: "Duration",
|
||||
|
||||
Comment: `How long to wait between retries`,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user