[
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.