From e708ff980b3e43cbf5777173ba9427aa6e700279 Mon Sep 17 00:00:00 2001 From: Chunlin Yang Date: Tue, 13 Nov 2018 12:13:57 +0800 Subject: [PATCH] Provide more information for timeout (#1171) Signed-off-by: Chun Lin Yang --- plugin/storage/cassandra/options.go | 2 +- plugin/storage/es/options.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/storage/cassandra/options.go b/plugin/storage/cassandra/options.go index 3409fe6a7c7..5427cdec836 100644 --- a/plugin/storage/cassandra/options.go +++ b/plugin/storage/cassandra/options.go @@ -131,7 +131,7 @@ func addFlags(flagSet *flag.FlagSet, nsConfig *namespaceConfig) { flagSet.Duration( nsConfig.namespace+suffixTimeout, nsConfig.Timeout, - "Timeout used for queries") + "Timeout used for queries. A Timeout of zero means no timeout") flagSet.Duration( nsConfig.namespace+suffixReconnectInterval, nsConfig.ReconnectInterval, diff --git a/plugin/storage/es/options.go b/plugin/storage/es/options.go index 81be05f6588..8d85ba0220e 100644 --- a/plugin/storage/es/options.go +++ b/plugin/storage/es/options.go @@ -127,7 +127,7 @@ func addFlags(flagSet *flag.FlagSet, nsConfig *namespaceConfig) { flagSet.Duration( nsConfig.namespace+suffixTimeout, nsConfig.Timeout, - "Timeout used for queries") + "Timeout used for queries. A Timeout of zero means no timeout") flagSet.Duration( nsConfig.namespace+suffixMaxSpanAge, nsConfig.MaxSpanAge,