Address moar comments

This commit is contained in:
Shrenuj Bansal
2022-09-22 16:27:15 -04:00
parent 1fe4aa3467
commit 7470549199
13 changed files with 19 additions and 139 deletions
+1 -1
View File
@@ -286,7 +286,7 @@ var (
DefaultNetworkTimeout = 100 * time.Second
DefaultCommitRetryDelay = 200 * time.Millisecond
DefaultBackupsRotate = 6
DefaultDatastoreNamespace = "/r" // from "/raft"
DefaultDatastoreNamespace = "/raft"
)
func DefaultClusterRaftConfig() *ClusterRaftConfig {
+3 -3
View File
@@ -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`,
},