mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
Sleep for a little while in connect thread before trying to connect to MGM again
This commit is contained in:
parent
80e602f554
commit
e6e83d29e1
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue