Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dpep authored Oct 4, 2023
1 parent 1588ffa commit c3bbe5e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,22 @@ NetworkResiliency
![Gem](https://img.shields.io/gem/dt/network_resiliency?style=plastic)
[![codecov](https://codecov.io/gh/dpep/network_resiliency_rb/branch/main/graph/badge.svg)](https://codecov.io/gh/dpep/network_resiliency_rb)

Making networks more resilient to errors.
Making network requests more resilient to error.

Resiliency: the ability to recover from adversity or adjust to change.
Resiliency: the ability to recover from adversity.


```ruby
require "network_resiliency"

NetworkResiliency.configure do |conf|
conf.statsd = Datadog::Statsd.new

# patch Redis instances
conf.patch :redis
end

Redis.new.connect
```


Expand Down

0 comments on commit c3bbe5e

Please sign in to comment.