Browse Source

add doc about timeout

vcptr 6 years ago
parent
commit
fcb3896a33
1 changed files with 1 additions and 0 deletions
  1. 1 0
      infra/control/api.go

+ 1 - 0
infra/control/api.go

@@ -32,6 +32,7 @@ func (c *ApiCommand) Description() Description {
 			"\tLoggerService.RestartLogger",
 			"\tStatsService.GetStats",
 			"\tStatsService.QueryStats",
+			"API calls in this command have a timeout to the server of 3 seconds.",
 			"Examples:",
 			"v2ctl api --server=127.0.0.1:8080 LoggerService.RestartLogger '' ",
 			"v2ctl api --server=127.0.0.1:8080 StatsService.QueryStats 'pattern: \"\" reset: false'",