django-q
django-q copied to clipboard
A multiprocessing distributed task queue for Django
Until recently I was using the "orm" connection with my default database in my deployed environments. I recently changed to use the redis connection in deployed environments, so config looks...
I get the following error when a qcluster worker attempts to use CUDA: `Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start...
I have django-q set up to run several different background processes -- these processes take anywhere from 10 min to several hours to run. I want the user to have...
A Schedule instance is only deleted after the task is queued if its scheduled type is Schedule.ONCE and repeats == -1, which is non intuitive to the user. - the...
Hello all, I have made multiple APIs with `django-q` but one API is time taking and does video processing. So, I was looking forward to implement deleting ongoing tasks if...
Process Process-1:1: Traceback (most recent call last): File "/usr/local/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/usr/local/lib/python3.8/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/local/lib/python3.8/site-packages/django_q/cluster.py", line 415, in worker for task...
The commands `python manage.py qmonitor` and `python manage.py qinfo` are not displaying information correctly for me. Here's the current output I'm getting from them. `python manage.py qmonitor` ![screen shot 2017-12-07...
I use database as broker, so with table django_q_task to store task info. But after some times, get so many data record, and how to periodically auto-delete old data record?...
I have created a Schedule through the shell, like this: ``` Schedule.objects.get_or_create( name='send_csat_survey_emails_temp', defaults=dict( func='django.core.management.call_command', args="send_csat_survey_emails", schedule_type=Schedule.MINUTES, repeats=-1, # repeats forever next_run=datetime.now(), ) ) ``` It was successfully created. But...
Somewhere along my build process, I collect static to copy them to a nginx static file server. ``` # In a dockerfile RUN python manage.py collectstatic --settings=core.settings.production --noinput ``` core/settings/production.py...