We have a fairly large Package.swift with 50 binary dependencies:
grep binaryTarget Package.swift | wc -l
In total the size of these 50 zip files is 400 MB. On a slower internet connection (16 MBit) the swift package resolve command errors out with some HTTP timeouts. It seems the main problem is that all 50 HTTP requests are executed at the same time:
However this is not the best solution. Requests still run into some timeout and are just retried. So network bandwith is being wasted on the client and on the server. What do you think about introducing some HTTP request queue so that only n requests are executed at the same time?
The text was updated successfully, but these errors were encountered: