From: Andrew Tridgell Date: Fri, 8 Aug 2008 03:13:42 +0000 (+1000) Subject: drop retries to 5 X-Git-Tag: samba-3.3.0pre1~137 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a2f70fc175b748ef160a998d0563c28381ea3466;p=thirdparty%2Fsamba.git drop retries to 5 --- diff --git a/source/lib/dbwrap_ctdb.c b/source/lib/dbwrap_ctdb.c index 049e1b9584d..541b2789707 100644 --- a/source/lib/dbwrap_ctdb.c +++ b/source/lib/dbwrap_ctdb.c @@ -670,7 +670,7 @@ again: } } - if (++retries == 10) { + if (++retries == 5) { DEBUG(0,(__location__ " Giving up transaction on db 0x%08x after %d retries failure_control=%u\n", h->ctx->db_id, retries, (unsigned)failure_control)); ctdbd_control_local(messaging_ctdbd_connection(), failure_control,