ITS#6203 fix startup

This commit is contained in:
Howard Chu 2009-07-13 13:24:12 +00:00
parent c401792c20
commit 789dad4d00

View File

@ -130,7 +130,7 @@ ndb_db_open( BackendDB *be, ConfigReply *cr )
} }
} }
for ( i=0; i<ni->ni_nconns; i++ ) { 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 ) { if ( rc ) {
snprintf( cr->msg, sizeof( cr->msg ), snprintf( cr->msg, sizeof( cr->msg ),
"ndb_db_open: ni_cluster[%d]->wait failed (%d)", "ndb_db_open: ni_cluster[%d]->wait failed (%d)",