Merge 10.5 into 10.6

This commit is contained in:
Marko Mäkelä 2022-09-13 08:40:05 +03:00
commit fd0bdd3180

View file

@ -1974,8 +1974,7 @@ void srv_purge_shutdown()
while(!srv_purge_should_exit()) { while(!srv_purge_should_exit()) {
ut_a(!purge_sys.paused()); ut_a(!purge_sys.paused());
srv_wake_purge_thread_if_not_active(); srv_wake_purge_thread_if_not_active();
std::this_thread::sleep_for( purge_coordinator_task.wait();
std::chrono::milliseconds(1));
} }
purge_sys.coordinator_shutdown(); purge_sys.coordinator_shutdown();
srv_shutdown_purge_tasks(); srv_shutdown_purge_tasks();