commit | 5b4357da283bb924e6ce8e94f594c42b17eda39c | [log] [tgz] |
---|---|---|
author | Kallas, Pawel <pawel.kallas@intel.com> | Wed Oct 12 15:36:37 2022 +0200 |
committer | Kallas, Pawel <pawel.kallas@intel.com> | Fri Nov 04 08:45:49 2022 +0100 |
tree | 18ed7d88cf7982d72b8c0f9bade660cd1f757171 | |
parent | 48248203c6cef3c90e8bcbd8e1c424fc0f0d973c [diff] |
add Associations endpoints change delay timer When multiple associations that point to the same interface are created, each change (adding or removing one) leads to updating "endpoints" property on dbus. This property update is time consuming with many endpoints already present, because each update needs to send the whole list of current elements plus/minus one. With a lot of changes in short time it can cause the service to be unresponsive. This change adds timer to delay updating dbus property. This way many associations updates can be aggregated into single dbus property update. Tested: Ran on hardware with dbus sensor tester. 4000 created sensors with interfaces are processed within 10 seconds. Time before the change was above 2 minutes. Signed-off-by: Kallas, Pawel <pawel.kallas@intel.com> Change-Id: I1083c027ab12238249cffc67fb29a8ffef6baf83
This repository contains the mapper, which assists in finding things on D-Bus. There is documentation about it here.
Non-OpenBMC build dependencies are:
meson build && ninja -C build
meson build && ninja -C build test
rm -rf build