summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/manager/ServicesManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/gitblit/manager/ServicesManager.java')
-rw-r--r--src/main/java/com/gitblit/manager/ServicesManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/manager/ServicesManager.java b/src/main/java/com/gitblit/manager/ServicesManager.java
index b1c97ba4..755d8bac 100644
--- a/src/main/java/com/gitblit/manager/ServicesManager.java
+++ b/src/main/java/com/gitblit/manager/ServicesManager.java
@@ -80,8 +80,9 @@ public class ServicesManager implements IManager {
public ServicesManager(IGitblit gitblit) {
this.settings = gitblit.getSettings();
this.gitblit = gitblit;
+ int defaultThreadPoolSize = settings.getInteger(Keys.execution.defaultThreadPoolSize, 1);
this.idGenerator = new IdGenerator();
- this.workQueue = new WorkQueue(idGenerator, 1);
+ this.workQueue = new WorkQueue(idGenerator, defaultThreadPoolSize);
}
@Override