Skip to content

Commit

Permalink
pacstrap: Disable download timeout
Browse files Browse the repository at this point in the history
The timeout is fixed at 10 seconds, and I see it quite often.

The man page for pacman.conf(5) reads:

 DisableDownloadTimeout

    Disable defaults for low speed limit and timeout on downloads. Use
    this if you have issues downloading files with proxy and/or security
    gateway.

Signed-off-by: Arnaud Rebillout <[email protected]>
  • Loading branch information
elboulangero authored and santoshmahto7 committed Jul 15, 2021
1 parent 81052fb commit 2e004a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actions/pacstrap_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ HookDir = %[1]s/etc/pacman.d/hooks/
HoldPkg = pacman glibc
Architecture = auto
SigLevel = Required DatabaseOptional TrustAll
DisableDownloadTimeout
`

const configRepoSection = `
Expand Down

1 comment on commit 2e004a2

@evelikov
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like the command-line argument - this is a workaround which should stay local.

Please sign in to comment.