summaryrefslogtreecommitdiffstats
path: root/ctdb
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-08-09 11:56:29 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-08-14 15:57:04 +1000
commit4cb3e2cd78053eeb4583faadc252b0595d31f7d5 (patch)
treefa4d559ededfcc640a0d59c2357eb6a32c1d4558 /ctdb
parente6ce2f55ef9a7180e495fd1cdc8408a2a60dc87a (diff)
tools/ctdb: Increase default control timeout to 10 seconds
The current 3 second timeout is arbitrary and users trip over it sometimes. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit b49c4f39666d5b1596213bf41bcdc47ed3c327ae)
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/tools/ctdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c
index ee60374896..b5807791f4 100644
--- a/ctdb/tools/ctdb.c
+++ b/ctdb/tools/ctdb.c
@@ -6157,7 +6157,7 @@ int main(int argc, const char *argv[])
/* set some defaults */
options.maxruntime = 0;
- options.timelimit = 3;
+ options.timelimit = 10;
options.pnn = CTDB_CURRENT_NODE;
pc = poptGetContext(argv[0], argc, argv, popt_options, POPT_CONTEXT_KEEP_FIRST);