Skip to content

#256 mitigate high disk IO rate

Kate Hsuan requested to merge fix-256 into master

The fixes include

  1. Ignore the unknown event from the device.
    Some of the devices such as Logitech devices and Bluetooth devices send unknown battery event every few seconds. That causes a lots of events to be written to the history files.
  2. Prevent writing the history item with unknown status to the file.
    Ignore the first history item of the history which is an unknown status item to write to the file.
  3. The history is only removed when the device id is changed.
    If we force delete the history when the object was signaled, the filter of the history will not work.

Resolves: #256 (closed)

Edited by Kate Hsuan

Merge request reports