这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@joerg1985
Copy link
Contributor

Description

This PR will use a single thread to watch all event executors. Having one watcher thread for each event thread is not needed, the only task is to print a log line with a warning about slow dispatching of a event.

On my system, this one thread will replace 15 watcher threads.

Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
@joerg1985 joerg1985 requested a review from a team as a code owner November 23, 2023 17:06
Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, again a few threads less! 👍

@kaikreuzer kaikreuzer merged commit ae117f6 into openhab:main Nov 24, 2023
@kaikreuzer kaikreuzer added the enhancement An enhancement or new feature of the Core label Nov 24, 2023
@kaikreuzer kaikreuzer added this to the 4.1 milestone Nov 24, 2023
@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/looking-for-brave-testers-less-threads-for-rule-engine/157224/3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement An enhancement or new feature of the Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants