s3:dbwrap_ctdb: increase the number of commit retries 5-->100
[amitay/samba.git] / source3 / lib / dbwrap_ctdb.c
index 9e57aadb258372b8f3f97848593b3bc76c8cb2bf..8e188d0ab53a734106effb0dbbf1656627dade85 100644 (file)
@@ -850,7 +850,7 @@ again:
                        }
                }
 
-               if (++retries == 5) {
+               if (++retries == 100) {
                        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,