]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ndb/init.cpp
line up with back-bdb/hdb (ITS#6661)
[openldap] / servers / slapd / back-ndb / init.cpp
index 77e4d13f23b1b55c86ddbf0ee38903b3647dae14..31aff671de5211283e04a301f8e442e7abbd4277 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2008 The OpenLDAP Foundation.
+ * Copyright 2008-2010 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -130,7 +130,7 @@ ndb_db_open( BackendDB *be, ConfigReply *cr )
                }
        }
        for ( i=0; i<ni->ni_nconns; i++ ) {
-               rc = ni->ni_cluster[i]->wait_until_ready( 30, 0 );
+               rc = ni->ni_cluster[i]->wait_until_ready( 30, 30 );
                if ( rc ) {
                        snprintf( cr->msg, sizeof( cr->msg ),
                                "ndb_db_open: ni_cluster[%d]->wait failed (%d)",