add configuration to limit replication workers (#18601)

This commit is contained in:
Poorna
2023-12-07 16:22:00 -08:00
committed by GitHub
parent 6ca6788bb7
commit 6b06da76cb
4 changed files with 95 additions and 42 deletions

View File

@@ -68,6 +68,12 @@ var (
Optional: true,
Type: "string",
},
config.HelpKV{
Key: apiReplicationMaxWorkers,
Description: `set the maximum number of replication workers` + defaultHelpPostfix(apiReplicationMaxWorkers),
Optional: true,
Type: "number",
},
config.HelpKV{
Key: apiTransitionWorkers,
Description: `set the number of transition workers` + defaultHelpPostfix(apiTransitionWorkers),