-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.6
-
Component/s: nuxeoctl start/stop/admin
-
Epic Link:
-
Tags:
-
Backlog priority:200
-
Sprint:DevOps Sprint 11
$ ./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").