karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Lange (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4748) Make Felix Resolver Threads configurable
Date Mon, 03 Oct 2016 18:13:20 GMT
Fabian Lange created KARAF-4748:
-----------------------------------

             Summary: Make Felix Resolver Threads configurable
                 Key: KARAF-4748
                 URL: https://issues.apache.org/jira/browse/KARAF-4748
             Project: Karaf
          Issue Type: Bug
            Reporter: Fabian Lange


It was requested in https://issues.apache.org/jira/browse/FELIX-5247 to make the resolver
threads configurable to avoid creating many threads by karaf.
It turns out Felix already has that feature, but Karaf is not using it:

https://github.com/apache/karaf/blob/karaf-4.0.x/features/core/src/main/java/org/apache/karaf/features/internal/osgi/Activator.java#L119

Resolver resolver = new ResolverImpl(new Logger(Logger.LOG_INFO));

I propose to configure and supply an Executor with the desired threads. As additional up,
this prevents situations where there are unnecessary threads created.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message