How to prevent fetching from macports mirrors
Mojca Miklavec
mojca at macports.org
Tue Mar 20 14:17:59 UTC 2018
On 20 March 2018 at 03:37, Ryan Schmidt wrote:
> On Mar 19, 2018, at 11:31, Mojca Miklavec wrote:
>
>> MacPorts sometimes spends 30 seconds trying to fetch files from
>> https://distfiles.macports.org or some other mirror server when I
>> *know* the files are not there (when writing a new port or updating an
>> existing one).
>
> It should take well under a second for it to respond with a 404. I don't know why it would take anywhere close to 30 seconds for that.
I don't know that either. Server overload maybe? :)
I'm not seeing that problem on other mirrors, but
distfiles.macports.org is often slow to respond.
The annoying thing is that 15 servers are tried before actually trying
the one specified in master_sites.
Btw, thanks a lot for the hint. The option is much easier to remember in 2.5 :)
Mojca
More information about the macports-dev
mailing list