Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7071C200BA5 for ; Wed, 5 Oct 2016 07:46:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6F2F1160AE8; Wed, 5 Oct 2016 05:46:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BCF20160ACC for ; Wed, 5 Oct 2016 07:46:21 +0200 (CEST) Received: (qmail 82281 invoked by uid 500); 5 Oct 2016 05:46:20 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 82254 invoked by uid 99); 5 Oct 2016 05:46:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2016 05:46:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7A8332C0B05 for ; Wed, 5 Oct 2016 05:46:20 +0000 (UTC) Date: Wed, 5 Oct 2016 05:46:20 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-4748) Make Felix Resolver Threads configurable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 05 Oct 2016 05:46:22 -0000 [ https://issues.apache.org/jira/browse/KARAF-4748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15547756#comment-15547756 ] ASF GitHub Bot commented on KARAF-4748: --------------------------------------- Github user CodingFabian closed the pull request at: https://github.com/apache/karaf/pull/246 > 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 > Attachments: Screen Shot 2016-10-03 at 20.13.47.png, Screen Shot 2016-10-04 at 09.25.48.png, Screen Shot 2016-10-04 at 09.26.04.png, Screen Shot 2016-10-04 at 09.26.17.png, Screen Shot 2016-10-04 at 09.27.45.png, Screen Shot 2016-10-04 at 09.28.20.png, Screen Shot 2016-10-04 at 09.28.50.png, Screen Shot 2016-10-04 at 09.30.14.png, Screen Shot 2016-10-04 at 09.31.16.png, Screen Shot 2016-10-04 at 11.54.19.png > > > 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)