download_from_google_storage: call gsutil.py once before anything else happens
Normally, if dfgs is started with multiple threads, the first time gsutil.py is called, it may be called by many different threads at the same time and hit a race condition where multiple threads are all trying to download gsutil at the same time. This works around the problem by calling it for the first time in the main thread before anything else happens. Bug: 773671 Change-Id: Ie75d90d6d20d11f46a601500b75a198fa5e5f111 Reviewed-on: https://chromium-review.googlesource.com/713750Reviewed-by: Jao-ke Chin-Lee <jchinlee@chromium.org> Commit-Queue: Ryan Tseng <hinoka@chromium.org>
Showing
Please
register
or
sign in
to comment