Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 68152 invoked from network); 3 Feb 2010 15:21:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 15:21:50 -0000 Received: (qmail 41275 invoked by uid 500); 3 Feb 2010 15:21:49 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 41215 invoked by uid 500); 3 Feb 2010 15:21:48 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 41205 invoked by uid 99); 3 Feb 2010 15:21:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 15:21:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 15:21:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DCF2C234C1EF for ; Wed, 3 Feb 2010 07:21:27 -0800 (PST) Message-ID: <434399592.3801265210487889.JavaMail.jira@brutus.apache.org> Date: Wed, 3 Feb 2010 15:21:27 +0000 (UTC) From: "Carsten Ziegeler (JIRA)" To: dev@felix.apache.org Subject: [jira] Updated: (FELIX-1960) Fine-grained timeout configuration In-Reply-To: <1600847809.1261553369487.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated FELIX-1960: ------------------------------------ Fix Version/s: eventadmin-1.2.0 > Fine-grained timeout configuration > ---------------------------------- > > Key: FELIX-1960 > URL: https://issues.apache.org/jira/browse/FELIX-1960 > Project: Felix > Issue Type: Improvement > Components: Event Admin > Affects Versions: eventadmin 1.0.0 > Reporter: Carsten Ziegeler > Assignee: Carsten Ziegeler > Fix For: eventadmin-1.2.0 > > > The timeout setting for event delivery is currentl a global setting - event listeners should (recommended by the spec as well) start an async thread if they need some time to process the event. > With the timeout setting in place, this creates two threads for each event delivery: one for the timeout handling and one for the event processing. > I think it would be nice, if one could optimize this behaviour by configuring the event admin to directly call specific event listeners and don't check the timeout. An administrator could add well-known event listeners to this configuration. This would reduce the server load for well-behaving event listeners. > I could imagine something like ignore.timeout.for=org.apache.sling.jcr.*,my.special.EventListener (with a better name for the config property) - so you can either add package prefixes or specific classes to the configuration. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.