Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Heroku's cache for downloaded jemalloc binaries
GitHub's releases service recently had an issue where downloads were failing. This attempts to fix two main issues: resilience for deploys and improved error messages. Using Heroku's cache we should only need to download each version once. This will allow deploys should GitHub have issues in the future. Before this change, if there was an error downloading the bundle then the buildpack would fail with an error about bzip file formats. This now checks the http status code and prints a more useful error should it fail. Fixes #13
- Loading branch information