Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 22477 invoked from network); 6 Jun 2008 14:06:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2008 14:06:06 -0000 Received: (qmail 18412 invoked by uid 500); 6 Jun 2008 14:06:09 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 18374 invoked by uid 500); 6 Jun 2008 14:06:09 -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 18363 invoked by uid 99); 6 Jun 2008 14:06:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2008 07:06:09 -0700 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; Fri, 06 Jun 2008 14:05:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 12AE3234C134 for ; Fri, 6 Jun 2008 07:05:45 -0700 (PDT) Message-ID: <464006000.1212761145075.JavaMail.jira@brutus> Date: Fri, 6 Jun 2008 07:05:45 -0700 (PDT) From: "Karl Pauls (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-600) Insert Delay before refreshing packages after install/update In-Reply-To: <821596045.1212759105472.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603051#action_12603051 ] Karl Pauls commented on FELIX-600: ---------------------------------- o.k., I'm not claiming I understand what the issue is anyways - it just looked like it would be more sound this way then introducing a magic timeout value :-) > Insert Delay before refreshing packages after install/update > ------------------------------------------------------------ > > Key: FELIX-600 > URL: https://issues.apache.org/jira/browse/FELIX-600 > Project: Felix > Issue Type: Bug > Components: Web Console > Affects Versions: webconsole-1.0.0 > Reporter: Felix Meschberger > Assignee: Felix Meschberger > Fix For: webconsole-1.0.1 > > > The WebConsole can be instructed to do a PackageAdmin.refreshPackages(null) after installing or updating a bundle. As there may be some things going on asynchronously behind the scenes after an installation/update, the call of the refreshPackages method should be delayed. Because the install/update actually works in a background thread, we can add such a delay without delaying client interactivity. > I insert a delay of 2 seconds for now. This is an empiric number, not a scientifically computed one, but I assume it should work out fine. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.