We presently don’t have a subtopic in the development area for questions about the core. I don’t think github is the right place to ask questions (but tell me if I am wrong).
Now for the question.
I am playing around with adding something to the rules engine and wanted to verify something that I was seeing in the latest code.
Hey Brian, that’s an interesting line you are pointing to!
Is that the correct interpretation?
Almost - it imho says that there is one thread per rule (independent of the number of triggers of it).
But honestly, I don’t think this is good as it can lead to a huge number of idol threads, if the system has many rules defined.
It would probably much better to use a thread pool within the rule engine for that, wdyt?
Feel free to enter an issue for that in openhab-core.
Is there a way of configuring the rules thread pool size? I run a very large OH2 system on a dedicated PC that I intend to migrate at some stage and needed to drastically increase the rule threads due to the many things happening on the current setup