Downloader: Turn on backgrounding of artifacts not needed early on.
This change turns on the background=True functionality of the
downloader. This allows the autotest server to install images
on to DUT's while the downloader is staging larger artifacts like
autotest andn N+1 delta payloads.
BUG=chromium-os:27285
TEST=Ran with same cli command tested autotest change with.
CQ-DEPEND=Iae2a20762c565b8e6d440c9a501c1f99c73129ed
Change-Id: I0947f60c0a85319ee3e7fd6019c3e2aef5d8725d
Reviewed-on: https://gerrit.chromium.org/gerrit/19345
Tested-by: Chris Sosa <sosa@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Tested-by: Scott Zawalski <scottz@chromium.org>
Commit-Ready: Scott Zawalski <scottz@chromium.org>
diff --git a/downloader.py b/downloader.py
index 32f8192..0b9a035 100755
--- a/downloader.py
+++ b/downloader.py
@@ -141,7 +141,7 @@
"""Downloads |artifacts| in the background and signals when complete."""
proc = multiprocessing.Process(target=self._DownloadArtifactsSerially,
args=(artifacts,))
- proc.run()
+ proc.start()
def GetStatusOfBackgroundDownloads(self):
"""Returns the status of the background downloads.