def get_connection_by_index(index):
    from .settings import QUEUES_LIST
    return get_redis_connection(QUEUES_LIST[index]['connection_config'])
Returns a Redis connection to use based on parameters in settings.RQ_QUEUES
dataset/ETHPy150Open ui/django-rq/django_rq/queues.py/get_connection_by_index