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

[BUG] accidential loop in trigger makes Companion unresponsive #3312

Open
2 tasks done
dnmeid opened this issue Feb 22, 2025 · 0 comments
Open
2 tasks done

[BUG] accidential loop in trigger makes Companion unresponsive #3312

dnmeid opened this issue Feb 22, 2025 · 0 comments
Labels
BUG Something isn't working

Comments

@dnmeid
Copy link
Member

dnmeid commented Feb 22, 2025

Is this a bug in companion itself or a module?

  • I believe this to be a bug in companion

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

You can write a loop with triggers. That can make Companion unresponsive because a lot logging is done and data is pushed between core and gui. At my machine a loop cycle takes ca. 0.4ms

Steps To Reproduce

  1. make custom variable loop with value 0
  2. make new trigger and activate
  3. set event to variable loop change
  4. add action: set custom variable with expression
  5. use variable loop and expression 1-$(custom:loop)
  6. change variable value to 1

Expected Behavior

Either trigger is retriggered as fast as possible but so slow that everything else go that pace
or trigger is not retriggered and there is a error log about the loop.

Environment (please complete the following information)

- OS: win 11
- Browser: Firefox
- Companion Version: 4.0.0 beta

Additional context

No response

@dnmeid dnmeid added the BUG Something isn't working label Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant