2016-10-05 5 views
2

셀로리 구성에서이 오류가 발생합니다. 전자 메일 알림이 작동하지 않습니다. 내가SQL 브로커 전송에서 브로드 캐스트가 지원되지 않습니다.

python manage.py celery -A app status 

와 상태를 확인할 때 저를 제공합니다

CELERY_RESULT_BACKEND = 'djcelery.backends.database:DatabaseBackend' 
BROKER_URL = 'django://' 

내 세트 업 + celery3.1.12 + PostgreSQL의 장고 1.6 :

broadcast not supported by sql broker transport 

내 celeryconfig.py은 다음과 같은 설정이 있습니다 + gunicorn

감사합니다.

답변

2

오류 메시지가 실제로 모든 것을 말해 :

"오류 : 방송 SQL 브로커 교통 지원되지 않습니다." Celery 3.1 documentation에서

,

Limitations

The Django database transport does not currently support:

  • Remote control commands (celery events command, broadcast)
  • Events, including the Django Admin monitor.
  • Using more than a few workers (can lead to messages being executed multiple times).

statusmonitoring commands 중 하나입니다.

관련 문제