]> git.sur5r.net Git - openldap/commitdiff
Change retry to num times 60. Testing shows that on a known dataset, this has the...
authorQuanah Gibson-Mount <quanah@openldap.org>
Sat, 13 Sep 2014 21:21:17 +0000 (16:21 -0500)
committerQuanah Gibson-Mount <quanah@openldap.org>
Sat, 13 Sep 2014 21:21:17 +0000 (16:21 -0500)
libraries/liblmdb/mdb.c

index 1eb46d303303d0be8bf1f215ea07ec64bfc939c6..4ed78a740d10a0f85be8f8da064a460c45c2eff2 100644 (file)
@@ -1948,7 +1948,7 @@ mdb_page_alloc(MDB_cursor *mc, int num, MDB_page **mp)
 #else
        enum { Paranoid = 0, Max_retries = INT_MAX /*infinite*/ };
 #endif
-       int rc, retry = num * 20;
+       int rc, retry = num * 60;
        MDB_txn *txn = mc->mc_txn;
        MDB_env *env = txn->mt_env;
        pgno_t pgno, *mop = env->me_pghead;