fix spinning a single thread in lua result check thread

This commit is contained in:
Lion Kortlepel
2022-11-25 14:21:45 +01:00
parent 4a6504ec2c
commit b1a89125fe

View File

@@ -71,9 +71,8 @@ void TLuaEngine::operator()() {
}
return false;
});
} else {
mResultsToCheckCond.wait_for(Lock, std::chrono::milliseconds(20));
}
mResultsToCheckCond.wait_for(Lock, std::chrono::milliseconds(10));
}
});
// event loop