jam: Make DownloadLocatedFile1 more aggressive. 10s timeout == retry
This commit is contained in:
+1
-1
@@ -478,7 +478,7 @@ actions DownloadLocatedFile1
|
|||||||
echo "ERROR: Would need to download $(URL), but HAIKU_NO_DOWNLOADS is set!"
|
echo "ERROR: Would need to download $(URL), but HAIKU_NO_DOWNLOADS is set!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
wget --retry-connrefused -O "$(1)" $(URL) || exit 1
|
wget --retry-connrefused --timeout 10 -O "$(1)" $(URL) || exit 1
|
||||||
touch "$(1)"
|
touch "$(1)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user