django-rq icon indicating copy to clipboard operation
django-rq copied to clipboard

Document REDIS_CLIENT_KWARGS

Open edmorley opened this issue 4 years ago • 2 comments

Hi!

django-rq currently supports passing custom options to the Redis client by specifying REDIS_CLIENT_KWARGS inside the RQ_QUEUES config entry: https://github.com/rq/django-rq/blob/11527cfdc6408b9c23c24255f8684b61860cc671/django_rq/queues.py#L127

For example:

RQ_QUEUES = {
    'default': {
        // ...
        'REDIS_CLIENT_KWARGS': {
                'ssl_cert_reqs': None
        },
    },

However this is not currently documented: https://github.com/rq/django-rq/search?q=REDIS_CLIENT_KWARGS

It would be great to add an example of this to the README :-)

edmorley avatar Sep 22 '21 07:09 edmorley

Do you mind opening a PR for this?

selwin avatar Sep 28 '21 00:09 selwin

I don't personally use this library, so probably will struggle to find the time, sorry (I was reporting it since I'd seen in a support ticket).

edmorley avatar Sep 28 '21 07:09 edmorley