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
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}
}