tools/ctdb: Increase default control timeout to 10 seconds
authorMartin Schwenke <martin@meltin.net>
Fri, 9 Aug 2013 01:56:29 +0000 (11:56 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Wed, 14 Aug 2013 06:18:08 +0000 (16:18 +1000)
The current 3 second timeout is arbitrary and users trip over it
sometimes.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit b49c4f39666d5b1596213bf41bcdc47ed3c327ae)

tools/ctdb.c

index c22146a90f79638cbc94e5c76aa86233c65dfafd..99dad33128eac05d825dad68a99f8cb98286c3d4 100644 (file)
@@ -5281,7 +5281,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);