Adjust busy loop sleep to 10ms

This is now in line with the new minimum interval value
This commit is contained in:
WarmUpTill 2024-05-02 20:17:43 +02:00 committed by WarmUpTill
parent efaf9a2ef3
commit 9a4eef4a83

View File

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