From 98b5bae096f455e1373de6f408c0211e345d24f6 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Sat, 15 Oct 2016 13:09:22 +0200 Subject: [PATCH] fix: Offset initial module update to avoid throttling --- include/components/controller.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/components/controller.hpp b/include/components/controller.hpp index 0b1d00a7..db5a2ace 100644 --- a/include/components/controller.hpp +++ b/include/components/controller.hpp @@ -221,6 +221,10 @@ class controller { } catch (const application_error& err) { m_log.err("Failed to start '%s' (reason: %s)", module->name(), err.what()); } + + // Offset the initial broadcasts by 25ms to + // avoid the updates from being ignored by the throttler + this_thread::sleep_for(25ms); } }