-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Renamed makeUnbufferedConnection and used it for VuMeter controls #4583
Renamed makeUnbufferedConnection and used it for VuMeter controls #4583
Conversation
pre-commit fails |
The code looks good. |
Yes, but how can I fix: "Executable Maybe a dummy commit to rerun the CI Actions? |
We can rerun them from the GitHub GUI. |
Just did it. |
Yes, this was just for debugging. |
I see in the log: @Holzhaus Do you have an idea why this fails? @JoergAtGithub |
No unfortunately not - I'm on Windows, where local pre-commit isn't available. I see an eslint update in #4558 a month ago. Maybe eslint was never executed since then, and nobody noticed? |
Why do you think that? I'm pretty certain it works on Windows, too. |
It's written in the Wiki, that it's Linux only. And I also tried myself, it just hangs and no commit is possible. Also on CI, it's just executed on Linux. |
The frontpage of the pre-commit website mentions multiple times that hooks were tested on Linux, macOS and Windows, so I can't believe it doesn't work on there. |
No idea who added that, I didn't.
Weird, we should definitely debug this. Does it set up the environment or does that also hang?
There is no point of running pre commit on all 3 OSes because the output should be exactly the same. It would just be a waste of electricity. |
… jam on overloaded systems
93e9c5d
to
ee35919
Compare
mhmmm. I'm still confused, this shouldn't be happening. I mean pre-commit won't pass for any of the modified mappings anyways so we can ignore that. Still, I'm confused why its broken on CI. I guess I'll try to reproduce the issue in a VM when I find the time. I really did not mean to break CI. |
I suppose you overwrote the |
|
7d1214d
to
c70b873
Compare
Uwes fix worked! eslint is fount again. Now eslint fails as expected - I think these unrelated eslint changes shouldn't be fixed in this PR? |
No, don't worry about that 😅 A bit OT: as someone who didn't follow the original PR #4566 I really had problems to understand what a "compressed" connection is. I think the name is misleading because we don't try to reduce the file size, we just drop obsolete packages. I think we should consider changing the name (but I won't insist on that). If we do, we should do that before merging this to avoid unnecessary commits in the git history. IIRC we do the opposite of tail drop policy often used in network equipment, i.e. we drop old packages instead of new ones, correct? How about these:
|
|
How about |
Makes sense to me, we don't need to expose the technical implementation details to the user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you.
This is the Follow-UP of #4566 which replaces makeConnection for VuMeter/L/R controls by makeCompressedConnection in controller the mappings that comes with Mixxx.
These controls appear in short intervals and are primary responsible for event queue overload on slow computers. On the other hand, these are numeric values, which are no used in the application logic of the mappings. Therefore the mapping logic can't be influenced by skipping superseded values.
This PR doesn't replace the use of legacy ConnectControl statements, because in theses cases it wouldn't be a 1:1 replacement without risk.