Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

writeCollection: Wait until previous invocation finished #157

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Nov 10, 2024

  1. DRAFT: writeCollection: Wait until previous invocation finished

    This commit changes how writeCollection works. Previously, it seemed
    to be a forced delay of some number of milliseconds that would need to
    happen before a call to ddcutil to change brightness could occur.
    
    Update to use a simpler logic: No more delays. If a ddcutil set
    brightness command is running, queue the next command that's generated
    and run it immediately after the first command completes. If a command
    is queued and another one comes in, the newest one replaces the queued
    one, becoming the only queued one.
    
    This patch is a draft. If this concept is acceptable, a futher update
    would be needed to remove the concept of writeCollectorWaitMs.
    Alternatively, we could keep the concept and mandate a minimum
    interval between two invocationsn of ddcutil, either measured from
    start time to start time, or end time to start time.
    Andrew de los Reyes committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    46abf97 View commit details
    Browse the repository at this point in the history
  2. convenienceExt.js: Add more debug logging

    Andrew de los Reyes committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    7a2f451 View commit details
    Browse the repository at this point in the history
  3. changes in autogenerated files

    Andrew de los Reyes committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    56a5b21 View commit details
    Browse the repository at this point in the history