From 9a4eef4a83017e501dfb40564edc05583f4f3135 Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Thu, 2 May 2024 20:17:43 +0200 Subject: [PATCH] Adjust busy loop sleep to 10ms This is now in line with the new minimum interval value --- lib/advanced-scene-switcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/advanced-scene-switcher.cpp b/lib/advanced-scene-switcher.cpp index 26904e8d..a68ae034 100644 --- a/lib/advanced-scene-switcher.cpp +++ b/lib/advanced-scene-switcher.cpp @@ -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); } }