digitaltrails / ddcutil-service

A Dbus ddcutil server for control of DDC Monitors/VDUs
GNU General Public License v2.0
11 stars 1 forks source link

Poll faster when idle #15

Closed digitaltrails closed 3 months ago

digitaltrails commented 6 months ago

If no methods or properties have been set in the last N seconds, poll detect faster, perhaps every 10 seconds.

digitaltrails commented 6 months ago

D-Bus services are essentially always serialised (no parallel execution). Because there is no parallel execution, perhaps just set the default poll interval to something like 10 seconds and don't worry about varying the interval.

But maybe we need to be cautious given the varied hardware out there.