celeryconfig.py 345 B

1234567891011121314
  1. import sys
  2. import os
  3. sys.path.insert(0, os.getcwd())
  4. BROKER_URL = "amqp://guest:guest@localhost:5672//"
  5. CELERY_IMPORTS = ("tasks", )
  6. ## Using the database to store results
  7. # CELERY_RESULT_BACKEND = "database"
  8. # CELERY_RESULT_DBURI = "sqlite:///celerydb.sqlite"
  9. # Results published as messages (requires AMQP).
  10. CELERY_RESULT_BACKEND = "amqp"