Skip to content

Commit

Permalink
Switch back to hackage.haskell.org
Browse files Browse the repository at this point in the history
's3.amazonaws.com' is not meant to serve clients around the world, as it
is hosted in the US only. This causes bandwidth to be severely throttled
for, amongst others, European users. This has been observed by users in
the following issue:

  commercialhaskell/stack#2240

At some periods, bandwidth drops to effectively zero, rendering Stack
unusable. Measurements can be found here:

  commercialhaskell/stack#2240 (comment)

'hackage.haskell.org' is served from Fastly's CDN, therefore mitigating
these issues.
  • Loading branch information
martijnbastiaan committed Jan 20, 2021
1 parent 31c74b2 commit 6bcdc1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pantry.hs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ defaultHackageSecurityConfig = HackageSecurityConfig
, "fe331502606802feac15e514d9b9ea83fee8b6ffef71335479a2e68d84adc6b0"
]
, hscKeyThreshold = 3
, hscDownloadPrefix = "https://s3.amazonaws.com/hackage.fpcomplete.com/"
, hscDownloadPrefix = "https://hackage.haskell.org/"
, hscIgnoreExpiry = False
}

Expand Down

0 comments on commit 6bcdc1e

Please sign in to comment.