celery.backends.redis

    class celery.backends.redis.RedisBackend(host=None, port=None, db=None, password=None, expires=None, max_connections=None, url=None, \*kwargs*)

    Redis task result store.

    • client None[源代码]

    • db None

    • delete(key)

    • host None

    • implements_incr = True

    • incr(key)[源代码]

    • max_connections = None

      Maximium number of connections in the pool.

    • port None

    • redis = <module ‘redis’ from ‘/usr/local/lib/python2.7/dist-packages/redis/__init__.pyc’>

      redis-py client module.

    • set(key, value)

    • supports_autoexpire = True