This document describes the current stable version of Celery (4.1). For development docs, go here.
celery.backends.redis
¶
Redis result store backend.
-
class
celery.backends.redis.
RedisBackend
(host=None, port=None, db=None, password=None, max_connections=None, url=None, connection_pool=None, **kwargs)[source]¶ Redis task result store.
-
ConnectionPool
¶
-
class
ResultConsumer
(*args, **kwargs)¶ -
cancel_for
(task_id)¶
-
consume_from
(task_id)¶
-
drain_events
(timeout=None)¶
-
on_wait_for_pending
(result, **kwargs)¶
-
start
(initial_task_id, **kwargs)¶
-
stop
()¶
-
-
RedisBackend.
apply_chord
(header, partial_args, group_id, body, result=None, options={}, **kwargs)[source]¶
-
RedisBackend.
max_connections
= None¶ Maximum number of connections in the pool.
-
RedisBackend.
supports_autoexpire
= True¶
-
RedisBackend.
supports_native_join
= True¶
-