~ubuntu-branches/ubuntu/maverick/openldap/maverick-proposed

« back to all changes in this revision

Viewing changes to servers/slapd/back-ndb/init.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2009-09-07 13:41:10 UTC
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: james.westby@ubuntu.com-20090907134110-jsdrvn0atu1fex4m
Tags: upstream-2.4.18
ImportĀ upstreamĀ versionĀ 2.4.18

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* init.cpp - initialize ndb backend */
2
 
/* $OpenLDAP: pkg/ldap/servers/slapd/back-ndb/init.cpp,v 1.4.2.2 2009/01/22 00:01:09 kurt Exp $ */
 
2
/* $OpenLDAP: pkg/ldap/servers/slapd/back-ndb/init.cpp,v 1.4.2.3 2009/07/22 19:45:56 quanah Exp $ */
3
3
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4
4
 *
5
5
 * Copyright 2008-2009 The OpenLDAP Foundation.
130
130
                }
131
131
        }
132
132
        for ( i=0; i<ni->ni_nconns; i++ ) {
133
 
                rc = ni->ni_cluster[i]->wait_until_ready( 30, 0 );
 
133
                rc = ni->ni_cluster[i]->wait_until_ready( 30, 30 );
134
134
                if ( rc ) {
135
135
                        snprintf( cr->msg, sizeof( cr->msg ),
136
136
                                "ndb_db_open: ni_cluster[%d]->wait failed (%d)",