def get_queue_by_index(index):
    from .settings import QUEUES_LIST
    config = QUEUES_LIST[int(index)]
    if config['name'] == 'failed':
        return FailedQueue(connection=get_redis_connection(config['connection_config']))
    return DjangoRQ(
        config['name'],
        connection=get_redis_connection(config['connection_config']),
        async=config.get('ASYNC', True))
Returns an rq Queue using parameters defined in ``QUEUES_LIST``
dataset/ETHPy150Open ui/django-rq/django_rq/queues.py/get_queue_by_index