From: Martin Schwenke Date: Fri, 10 Jan 2020 03:25:39 +0000 (+1100) Subject: ctdb-mutex: Change default re-check time for fcntl helper to 5s X-Git-Tag: samba-4.12.0rc1~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa2977e1519b76b2c70871032bbc5ab85f8a0c45;p=thirdparty%2Fsamba.git ctdb-mutex: Change default re-check time for fcntl helper to 5s Testing against a commonly used cluster filesystem has shown no performance impact, as expected. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/server/ctdb_mutex_fcntl_helper.c b/ctdb/server/ctdb_mutex_fcntl_helper.c index 1448a9062a0..51c46ce733f 100644 --- a/ctdb/server/ctdb_mutex_fcntl_helper.c +++ b/ctdb/server/ctdb_mutex_fcntl_helper.c @@ -398,7 +398,7 @@ int main(int argc, char *argv[]) file = argv[1]; - recheck_time = 60; + recheck_time = 5; if (argc == 3) { recheck_time = smb_strtoul(argv[2], NULL,