Change default verbosity of busy loop detection log

This is mostly relevant when analysing issues, so it does not make sense
to potentially spam the OBS log with this message
This commit is contained in:
WarmUpTill
2024-08-02 19:14:53 +02:00
committed by WarmUpTill
parent bcb043f997
commit 15998012e5

View File

@@ -241,8 +241,8 @@ void SwitcherData::Thread()
duration = std::chrono::milliseconds(interval) +
std::chrono::milliseconds(linger) - runTime;
if (duration.count() < 1) {
blog(LOG_INFO,
"detected busy loop - refusing to sleep less than 1ms");
vblog(LOG_INFO,
"detected busy loop - refusing to sleep less than 1ms");
duration = std::chrono::milliseconds(10);
}
}