- Add setting to allow STARTTLS without requiring SMTPS (pr-183)
- Added an extension point for monitoring onStartup and onShutdown (ticket-79)
- Tag server-side merges when incremental push tags are enabled (issue-432, ticket-85)
+ - Add setting to control default thread pool size for miscellaneous background tasks (ticket-92)
dependencyChanges:
- Update to javax.mail 1.5.1 (issue-417, ticket-58)
contributors:
settings:
- { name: 'web.allowDeletingNonEmptyRepositories', defaultValue: 'true' }
- { name: 'mail.starttls', defaultValue: 'false' }
+ - { name: 'execution.defaultThreadPoolSize', defaultValue: '1' }
}
#
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