NGnius / PowerTools

Moved to
https://git.ngni.us/NG-SD-Plugins/PowerTools
GNU General Public License v3.0
414 stars 29 forks source link

Locking when quickly sliding sliders #31

Closed NGnius closed 1 year ago

NGnius commented 2 years ago

Expected Behaviour Sliders slide smoothly

Actual Behaviour Sliders slide quickly for one change, and then take a while to update on the next change.

To Reproduce Steps to reproduce the behavior:

  1. Slide any slider in powertools by holding down the left or right d-pad button.
  2. Watch it move inconsistently

Additional context This is possibly due to lock contention on the back-end. Making the API lock-free (by sending config updates to a single thread which applies them) would be a good mitigation strategy.

NGnius commented 1 year ago

Fixed in 3b34bad