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 21, 2021
1 parent 31c74b2 commit 90fce18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog for pantry

## v0.5.1.5
* Switch back to hackage.haskell.org [#30](https://github.com/commercialhaskell/pantry/pull/30)

## v0.5.1.4

* Allow building with persistent-2.11 [#28](https://github.com/commercialhaskell/pantry/pull/28)
Expand Down
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 90fce18

Please sign in to comment.