Socket
Book a DemoInstallSign in
Socket

network_resiliency

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

network_resiliency

0.8.2
bundlerRubygems
Version published
Maintainers
1
Created
Source

NetworkResiliency

Gem codecov

Making network requests more resilient to error.

  • less errors, by retrying
  • less time, by setting granular timeouts
require "network_resiliency"

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

Redis.new.ping

Contributing

Yes please :)

  • Fork it
  • Create your feature branch (git checkout -b my-feature)
  • Ensure the tests pass (bundle exec rspec)
  • Commit your changes (git commit -am 'awesome new feature')
  • Push your branch (git push origin my-feature)
  • Create a Pull Request

Inspired by

https://github.com/lostisland/faraday-retry/blob/main/lib/faraday/retry/middleware.rb

https://github.com/ankane/the-ultimate-guide-to-ruby-timeouts

https://reprep.io/writings/20220326_timeouts_deadline_propagation.html

https://grpc.io/blog/deadlines

FAQs

Package last updated on 13 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.