Sleep for a little while in connect thread before trying to connect to MGM again

This commit is contained in:
magnus@neptunus.(none) 2004-09-13 14:36:02 +02:00
parent 80e602f554
commit e6e83d29e1

View file

@ -61,6 +61,9 @@ void Ndb_cluster_connection::connect_thread()
printf("Ndb_cluster_connection::connect_thread error\n");
DBUG_ASSERT(false);
g_run_connect_thread= 0;
} else {
// Wait before making a new connect attempt
NdbSleep_SecSleep(1);
}
} while (g_run_connect_thread);
if (m_connect_callback)