summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-08-08 13:13:42 +1000
committerMichael Adam <obnox@samba.org>2008-08-13 11:54:11 +0200
commit65a78a6a5212f9457f7fbbd7e14e54e86e7060bb (patch)
treee94a740bc19dd04783d7aada9259019523300007 /source3/lib
parentca64c340c735fa075c0259e5fa61982a2e3a1c5a (diff)
downloadsamba-65a78a6a5212f9457f7fbbd7e14e54e86e7060bb.tar.gz
samba-65a78a6a5212f9457f7fbbd7e14e54e86e7060bb.tar.bz2
samba-65a78a6a5212f9457f7fbbd7e14e54e86e7060bb.zip
drop retries to 5
(This used to be commit a2f70fc175b748ef160a998d0563c28381ea3466)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/dbwrap_ctdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/dbwrap_ctdb.c b/source3/lib/dbwrap_ctdb.c
index 049e1b9584..541b278970 100644
--- a/source3/lib/dbwrap_ctdb.c
+++ b/source3/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,