MXS-2004 Remove additional dependencies on maxscale/thread.h

This commit is contained in:
Johan Wikman
2018-08-10 15:42:30 +03:00
parent 5d6b05af1f
commit f9ba8824d4
8 changed files with 5 additions and 12 deletions

View File

@ -836,7 +836,7 @@ bool MariaDBMonitor::wait_cluster_stabilization(MariaDBServer* new_master, const
{
if (!first_round)
{
thread_millisleep(500);
std::this_thread::sleep_for(std::chrono::milliseconds(500));
}
// Erasing elements from an array, so iterate from last to first