Skip to content

nicoolas25/tennis-redis

Repository files navigation

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.

About

A Redis backend for tennis-jobs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages