From fcb3896a33bab1a176a037f0068909f0d13c162e Mon Sep 17 00:00:00 2001 From: vcptr <51714622+vcptr@users.noreply.github.com> Date: Sun, 14 Jul 2019 12:59:35 +0800 Subject: [PATCH] add doc about timeout --- infra/control/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/control/api.go b/infra/control/api.go index 9498c8be7..823d49450 100644 --- a/infra/control/api.go +++ b/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'",