Skip to content

Commit

Permalink
Made threaded executors default config
Browse files Browse the repository at this point in the history
  • Loading branch information
seaside1 committed Sep 18, 2022
1 parent 1851f22 commit 229d505
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class JRuleConfig {
private static final int DEFAULT_MIN_EXECUTORS = 2;
private static final int DEFAULT_MAX_EXECUTORS = 10;
private static final long DEFAULT_KEEPALIVE_EXECUTORS = 2L;
private static final boolean DEFAULT_ENABLE_EXECUTORS = false;
private static final boolean DEFAULT_ENABLE_EXECUTORS = true;

public static final String RULES_DIR_START = "rules";
public static final String RULES_DIR = RULES_DIR_START + File.separator + "org" + File.separator + "openhab"
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/jrule.conf.default
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#org.openhab.automation.jrule.directory=/etc/openhab/automation/directory

## Run rules in a separate threadpool
#org.openhab.automation.jrule.engine.executors.enable=false
#org.openhab.automation.jrule.engine.executors.enable=true

## Minimum number of threads
#org.openhab.automation.jrule.engine.executors.min=2
Expand Down

0 comments on commit 229d505

Please sign in to comment.