No commit activity in last 3 years
No release in over 3 years
A Redis backend for tennis-jobs.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Tennis::Backend::Redis

A Redis backend for tennis-jobs.

Usage

Simply configure Tennis with this backend:

REDIS_URL = "redis://localhost:6379"

Tennis.configure do |config|
  config.backend = Tennis::Backend::Redis.new(logger: logger, url: REDIS_URL)
end

The backend take an extra argument nammed namespace. Its default value is: tennis. All the redis keys are prefixed with tennis:.

TODO

  • Support the delay option.

License

The gem is available as open source under the terms of the MIT License.