Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10509

Marketplace package download timeout must not happen while effective download

    XMLWordPrintable

    Details

      Description

      $ ./bin/nuxeoctl mp-install
      (...)
      Downloading [nuxeo-5.6.0-HF00-1.0.0, nuxeo-5.6.0-HF01-1.0.0, nuxeo-5.6.0-HF03-1.0.0, nuxeo-5.6.0-HF02-1.1.0]...
      Adding nuxeo-5.6.0-HF00-1.0.0
      Timeout while trying to download packages
      Aborting packages change request

      This happens because the download timeout is managed by the Launcher (in org.nuxeo.launcher.connect.ConnectBroker.downloadPackages(List<String>)) whereas it should be managed by nuxeo-connect-client (in org.nuxeo.connect.packages.PackageManager.download(String)): the Launcher doesn't take into account the number of downloads, nor the activity of the download task.

      1) it can be improved by making the timeout proportional to the number of downloads
      2) it can be improved by making the nuxeo-connect-client managing the timeout checking if "a download is really in progress" and applying a timeout only on the waiting tasks (when "nothing is in progress").

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                9 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified