Request automation thread pool as a scheduled pool (#1869)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
Kai Kreuzer 2020-11-30 10:18:56 +01:00 committed by GitHub
parent aa317d8c85
commit 575f744a43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ public class TriggerHandlerCallbackImpl implements TriggerHandlerCallback {
protected TriggerHandlerCallbackImpl(RuleEngineImpl re, String ruleUID) {
this.re = re;
this.ruleUID = ruleUID;
executor = ThreadPoolManager.getPool(AUTOMATION_THREADPOOL_NAME);
executor = ThreadPoolManager.getScheduledPool(AUTOMATION_THREADPOOL_NAME);
}
@Override