You are not logged in.

#1 2014-04-30 12:26:10

clonejo
Member
Registered: 2014-04-30
Posts: 1

Increase pacman's connection timeout on high-latency networks

Hi,

as I depend on a very laggy mobile connection, the 10 second timeout pacman uses for downloads has become an issue. Is there a way to increase that timeout? Reissuing the command every few minutes for a 20MB package is tedious, at least resumed downloads allow me to sync packages at all.

Regards,
clonejo

Offline

#2 2014-04-30 12:50:11

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,007

Re: Increase pacman's connection timeout on high-latency networks

don't think pacman.conf has an option for that, but you could use a customized Xfer command .

curl --help wrote:

-connect-timeout SECONDS   Maximum time allowed for connectiontransfer

something like this should work for you :

XferCommand = /usr/bin/curl -C - -f -connect-timeout SECONDS %u > %o

(replace SECONDS with desired value)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB