Deprecate throttle-output and throttle-output-for
The eventloop no longer uses them. libuv will coalesces multiple uv_async_send if they happen one after another and this also leads to coalescing of updates.
This commit is contained in:
parent
511e73b3b5
commit
dd4088910e
5 changed files with 22 additions and 10 deletions
src/components
|
@ -47,15 +47,11 @@ controller::controller(connection& conn, signal_emitter& emitter, const logger&
|
|||
, m_conf(config)
|
||||
, m_bar(forward<decltype(bar)>(bar))
|
||||
, m_ipc(forward<decltype(ipc)>(ipc)) {
|
||||
if (m_conf.has("settings", "throttle-input-for")) {
|
||||
m_log.warn(
|
||||
"The config parameter 'settings.throttle-input-for' is deprecated, it will be removed in the future. Please "
|
||||
"remove it from your config");
|
||||
}
|
||||
|
||||
// TODO deprecate both
|
||||
m_conf.deprecated("settings", "eventqueue-swallow", "throttle-output", 0);
|
||||
m_conf.deprecated("settings", "eventqueue-swallow-time", "throttle-output-for", 0);
|
||||
m_conf.ignore_key("settings", "throttle-input-for");
|
||||
m_conf.ignore_key("settings", "throttle-output");
|
||||
m_conf.ignore_key("settings", "throttle-output-for");
|
||||
m_conf.ignore_key("settings", "eventqueue-swallow");
|
||||
m_conf.ignore_key("settings", "eventqueue-swallow-time");
|
||||
|
||||
m_log.trace("controller: Setup user-defined modules");
|
||||
size_t created_modules{0};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue