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
[0.9] Too many event handlers registered with VariableManager events #955
Comments
Currently I am using 90 devices and 102 rules. |
OK, thanks. Seems like you're using a lot of variables as part of your rules :) Currently we have a limit of 100 event listeners per event source and it seems like you have more than 100 variable usages, e.g. some like "when $myDevice.attribute > 0 then ...". Before we increase the limit I think we need to check:
|
Run into the same warning with 110 devices and 100 rules. How can I increase the limit? |
Sorry, it is not configurable at the moment. |
From the docs: I'll look into this soon. |
Thanks for the clarification. It would be great to have the limit either configurable or something like "self-adjusting" according to the number of devices and rules found in config.json |
…dictionary. Set default to 200. Issue #955
Just updated to 0.9.34 and checked the new "defaultMaxListeners" settings: works like a charm. Thanks! |
You're welcome :) I am closing this now |
Just updated to 0.9.34 with "defaultMaxListeners" : 300 |
Seems like there are too many event handlers registered with VariableManager events. I think we need to review this careefully.
See also: https://forum.pimatic.org/topic/2081/missing-property-allowedorigin
The text was updated successfully, but these errors were encountered: