Debian Codegraph @

examples/gevent/celeryconfig.py

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