summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli.h')
-rw-r--r--cli/src/cli.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/src/cli.h b/cli/src/cli.h
index 999772d4bc4..0776383fc9f 100644
--- a/cli/src/cli.h
+++ b/cli/src/cli.h
@@ -25,9 +25,6 @@
#define DEFAULT_EVENT_POOL_SIZE 16384
#define CLI_GLUSTERD_PORT 24007
-#define CLI_DEFAULT_CONN_TIMEOUT 120
-#define CLI_DEFAULT_CMD_TIMEOUT 120
-#define CLI_TEN_MINUTES_TIMEOUT 600 //Longer timeout for volume top
#define DEFAULT_CLI_LOG_FILE_DIRECTORY DATADIR "/log/glusterfs"
#define CLI_VOL_STATUS_BRICK_LEN 43
#define CLI_TAB_LENGTH 8
@@ -42,6 +39,9 @@ enum argp_option_keys {
ARGP_PORT_KEY = 'p',
};
+int cli_default_conn_timeout;
+int cli_ten_minutes_timeout;
+
typedef enum {
COLD_BRICK_COUNT,
COLD_TYPE,