Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-600

Insert Delay before refreshing packages after install/update

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • webconsole-1.0.0
    • webconsole-1.2.0
    • Web Console
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              fmeschbe Felix Meschberger
              fmeschbe Felix Meschberger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: