fix: Offset initial module update to avoid throttling
This commit is contained in:
parent
e77dcac58c
commit
98b5bae096
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user