celeryconfig.py 387 B

1234567891011121314151617
  1. import sys
  2. import os
  3. sys.path.insert(0, os.getcwd())
  4. BROKER_HOST = "localhost"
  5. BROKER_USER = "guest"
  6. BROKER_PASSWORD = "guest"
  7. BROKER_VHOST = "/"
  8. CELERY_IMPORTS = ("tasks", )
  9. ## Using the database to store results
  10. # CELERY_RESULT_BACKEND = "database"
  11. # CELERY_RESULT_DBURI = "sqlite:///celerydb.sqlite"
  12. # Results published as messages (requires AMQP).
  13. CELERY_RESULT_BACKEND = "amqp"