Back to articles

Faraday keeps us in the loop

Originally appeared on Ruby Weekly. #​652 — May 4, 2023Read on the Web Ruby Weekly Retries Made Better with Faraday Loop — Ever need a simple way to retry a block of code in Ruby? Maybe with a maximum number of retries or exponential backoff? The popular Faraday HTTP client library has a great built-in solution that it uses for retrying HTTP requests which has been extracted into Faraday Loop for us to use elsewhere. Nate Kontny (Census Engineering) / LostIsland Triggering CI from Pull Requests and Force Pushes in GitHub Actions — I’d love to see more practical GitHub Actions tutorials like this as it can feel a little opaque. Here’s how…
#github
#ruby
04 May 2023
vote
comment0