[pacman-dev] [PATCH] Add config var to limit repo connection timeout

Nathan Aclander nathan.aclander at gmail.com
Sat Apr 6 23:43:30 UTC 2019


I'm fairly new to using git send-email, so I wasn't sure how to add an
explanation to the patch while cleanly separating it from the git commit
message. I can speak more to why I found it useful.

While I was traveling, certain mirrors became unreachable, or extremely
slow. I had to wait 10 seconds not only for each repo, but then again
every time pacman would try and download an individual package. Since
this was set at 10 seconds by default, the wait time was far too long. I
wanted to change it to 1 second so that pacman would move on to the next
mirror faster.

Using this patch seemed more usable for me than to having to comment out
mirrors manually depending my network conditions. Are you concerned that
having this parameter be tunable would cause pacman.conf to be too
complex?

Nathan


More information about the pacman-dev mailing list