django-rq
django-rq copied to clipboard
A simple app that provides django integration for RQ (Redis Queue)
In the previous implementation, the status of a job was defined after the job was enqueued, resulting in the job never being removed from the finished/deferred/scheduled registry because once a...
I've run into instances where I have multiple repeated tasks in queue. I thought I'd share them in case they're worth adding to django_rq: ``` python # path/to/utils.py def func_in_task_queue(queue_name:str...
This change follows the implementation of `rq_exporter` and the prometheus client to export the RQ statistics as a Django view. fixes: https://github.com/rq/django-rq/issues/503
enhancement request Every morning, I go through the list of failed jobs for my queues. I triage the issue, and usually end up deleting the job. It would be great...
Hello, Just wanted to check if it's possible to define retry policy via Django settings, because it seems reasonable to have a global retry policy, rather than defining it on...
Hello Team, Recently I have faced and `TypeError` on Dajngo-rq Admin panel. console log. ``` ERROR 2024-10-18 11:25:18,271 log 7 281473131571528 Internal Server Error: /django-rq/queues/1/send_booking_notifications_booking_item_249/ Traceback (most recent call last):...
I have: ```python RQ_QUEUES = { "default": { "DEFAULT_TIMEOUT": datetime.timedelta(hours=1).seconds, "URL": REDIS_URL, } } if REDIS_URL.startswith("rediss://"): # pragma: no cover RQ_QUEUES["default"]["REDIS_CLIENT_KWARGS"] = {"ssl_cert_reqs": None} ``` I have checked: ```pycon >>>...
When using Sentinels connection to Redis instead of a "single host", when opening the `/admin/background-tasks/` URL, the following exception is raised: ```py Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/django/core/handlers/exception.py", line...
I had the following set up in my settings/base.py file. ``` RQ_QUEUES = { 'default': { 'HOST': 'localhost', 'PORT': 6379, 'DB': 1, #'USERNAME': 'some-user', #'PASSWORD': 'some-password', 'DEFAULT_TIMEOUT': 360, #'REDIS_CLIENT_KWARGS': {...