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

Use a single thread to watch all event executors #3884

Merged
merged 1 commit into from
Nov 24, 2023

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.

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
3 checks passed
@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