fix: Offset initial module update to avoid throttling

This commit is contained in:
Michael Carlberg 2016-10-15 13:09:22 +02:00
parent e77dcac58c
commit 98b5bae096

View File

@ -221,6 +221,10 @@ class controller {
} catch (const application_error& err) { } catch (const application_error& err) {
m_log.err("Failed to start '%s' (reason: %s)", module->name(), err.what()); 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);
} }
} }