mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Adjust busy loop sleep to 10ms
This is now in line with the new minimum interval value
This commit is contained in:
parent
efaf9a2ef3
commit
9a4eef4a83
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user