add doc about timeout

pull/1794/head
vcptr 2019-07-14 12:59:35 +08:00
parent 01e3a5f809
commit fcb3896a33
1 changed files with 1 additions and 0 deletions

View File

@ -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'",