You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when running bazel, it is using the default http timeouts, starting with 60 second.
And we have also configured to use caches, that are not public, to speed up local download, so the timeouts are mostly affecting external developers
We should make the impact of these caches smaller, by having better timeouts.
Currently it took ~9 minuts to run make bazel_prepare on empty local cache when it should probably be possible to do it under 2 minutes.
The text was updated successfully, but these errors were encountered:
The better solution is probably to have a custom http_archive() function which would filter the urls like this:
for url in urls:
if host(url) in AccessibleHosts
use this url
if host(url) in NonAccessibleHosts
skip this url and use next
# Unknown host, test if accessible or not
# Either by ping the host or trying downloading the file with a timeout.
# and populate AccessibleHosts/NonAccessibleHosts depending on result
Enhancement
Currently when running bazel, it is using the default http timeouts, starting with 60 second.
And we have also configured to use caches, that are not public, to speed up local download, so the timeouts are mostly affecting external developers
We should make the impact of these caches smaller, by having better timeouts.
Currently it took ~9 minuts to run
make bazel_prepare
on empty local cache when it should probably be possible to do it under 2 minutes.The text was updated successfully, but these errors were encountered: