Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redis-retry

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-retry

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

redis-retry

Requires the redis gem.

Automatically retries all Redis calls if the Redis server is not available.

r = Redis::Retry.new(:tries => 3, :wait => 5, :redis => @r)

Redis::Retry will proxy all Redis calls. If a Errno::ECONNREFUSED error occurs, the command will be retried the specified number of times, waiting the specified number of seconds between tries. After all tries have been made unsuccessfully, the Errno::ECONNREFUSED will be raised.

Useful to ensure that apps don't fail when Redis is unavailable for a short amount of time.

Installation

$ gem install redis-retry

Author

Matt Duncan matt@mattduncan.org

FAQs

Package last updated on 16 Apr 2010

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc