The default (RedisConnection-based) implementation of
BackendFactory. The backend owns connections it creates, including
duplicates, but leaves caller-owned clients open. The
high-level classes (Queue, Worker, FlowProducer, …) depend only on
IQueueBackend and never touch a Redis client directly.
Other datastores can provide their own BackendFactory and inject it
into the queue classes.
The default (RedisConnection-based) implementation of BackendFactory. The backend owns connections it creates, including duplicates, but leaves caller-owned clients open. The high-level classes (Queue, Worker, FlowProducer, …) depend only on IQueueBackend and never touch a Redis client directly.
Other datastores can provide their own BackendFactory and inject it into the queue classes.