Merge branch 'keydbpro' into PRO_RELEASE_6

Former-commit-id: 7e0bcf58224921abf2046dc1f58606ed18ebb379
This commit is contained in:
John Sully 2021-03-26 02:54:50 +00:00
commit 72e40cc1c2

View File

@ -6091,6 +6091,7 @@ void OnTerminate()
} }
void wakeTimeThread() { void wakeTimeThread() {
updateCachedTime();
std::lock_guard<std::mutex> lock(time_thread_mutex); std::lock_guard<std::mutex> lock(time_thread_mutex);
sleeping_threads--; sleeping_threads--;
serverAssert(sleeping_threads >= 0); serverAssert(sleeping_threads >= 0);