summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-08-10 01:57:45 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-11 22:24:47 -0700
commitb0f54a49164a1c618b9e207349bd96705b44dfa6 (patch)
tree464a4026e786d6791a0ea2c92a6137dcd5e066b3 /cli/src/cli.h
parent5f7018275bf8006ff758817037d03936b8a95d43 (diff)
cli: Introduce timeouts for command response and connection
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1262 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1262
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index 36ac7214b..854c609d2 100644
--- a/cli/src/cli.h
+++ b/cli/src/cli.h
@@ -31,6 +31,8 @@
#define DEFAULT_EVENT_POOL_SIZE 16384
#define CLI_GLUSTERD_PORT 6969
+#define CLI_DEFAULT_CONN_TIMEOUT 120
+#define CLI_DEFAULT_CMD_TIMEOUT 120
enum argp_option_keys {
ARGP_DEBUG_KEY = 133,