celeryconfig.py 312 B

1234567891011121314
  1. from __future__ import absolute_import, unicode_literals
  2. import os
  3. import sys
  4. sys.path.insert(0, os.getcwd())
  5. # ## Note: Start worker with -P gevent,
  6. # do not use the worker_pool option.
  7. broker_url = 'amqp://guest:guest@localhost:5672//'
  8. result_backend = 'amqp'
  9. result_expires = 30 * 60
  10. imports = ('tasks',)