doc: Fix documentation for "ctdb timeout" parameter
authorMartin Schwenke <martin@meltin.net>
Fri, 17 Jul 2015 09:51:59 +0000 (19:51 +1000)
committerVolker Lendecke <vl@samba.org>
Mon, 20 Jul 2015 13:47:43 +0000 (15:47 +0200)
The documentation claims this is specified in seconds.  However, it is
passed straight through to poll(2), which takes a timeout in
milliseconds.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Jul 20 15:47:43 CEST 2015 on sn-devel-104

docs-xml/smbdotconf/misc/ctdbtimeout.xml

index 90780d6e9978e4ffeb4741e4d762dd4e1de5a42d..1bff09809c0063af992086dd99075c66035d057e 100644 (file)
@@ -3,7 +3,7 @@
                                 type="integer"
                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
 <description>
-       <para>This parameter specifies a timeout in seconds for the
+       <para>This parameter specifies a timeout in milliseconds for the
          connection between Samba and ctdb. It is only valid if you
          have compiled Samba with clustering and if you have
          set <parameter>clustering=yes</parameter>.
@@ -27,7 +27,7 @@
          access the registry contact to ctdb is required.
        </para>
        <para>Setting <parameter>ctdb timeout</parameter> to n makes
-         any process waiting longer than n seconds for a reply by the
+         any process waiting longer than n milliseconds for a reply by the
          cluster panic. Setting it to 0 (the default) makes Samba
          block forever, which is the highly recommended default.
        </para>