Форум сайта python.su
Добрый день.
Помогите разобраться с 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)
Офлайн
вот что получаю логах
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.
Офлайн