Найти - Пользователи
Полная версия: django_rq
Начало » Django » django_rq
1
legi0ner
Добрый день.
Помогите разобраться с django_rq. Все как тут https://github.com/ui/django-rq установил django_rq, прописал в settings, запустил worker
В админке django_rq_dashboard вижу что запустился worker


Добавляю в очередь задачу
django_rq.enqueue(post_data)
В логах вижу что задача добавилась
default: utils.post_data() (aaa7503f-f377-4042-a0dd-10a6c58de569)

но не вижу ее в админке и не вижу результата работы.
Подскажите что я неправильно делаю.
legi0ner
вот что получаю логах

14:55:35 *** Listening on default...
14:55:35 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.
15:01:35 default: utils.post_data() (0c2ec2f4-f329-41cc-91d5-2d2d0b72edb9)
15:01:35 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.
15:01:35 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.
15:01:35 Job OK
15:01:35 Result is kept for 500 seconds
15:01:35 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.
15:01:35
15:01:35 *** Listening on default...
15:01:35 Sent heartbeat to prevent worker timeout. Next one should arrive within 420 seconds.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB