From b0f54a49164a1c618b9e207349bd96705b44dfa6 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Tue, 10 Aug 2010 01:57:45 +0000 Subject: cli: Introduce timeouts for command response and connection Signed-off-by: Vijay Bellur Signed-off-by: Anand V. Avati BUG: 1262 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1262 --- cli/src/cli.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/src/cli.h') diff --git a/cli/src/cli.h b/cli/src/cli.h index 36ac7214..854c609d 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, -- cgit