| 12345678910111213 | import osimport syssys.path.insert(0, os.getcwd())### Note: Start worker with -P gevent,# do not use the CELERYD_POOL option.BROKER_URL = 'amqp://guest:guest@localhost:5672//'CELERY_DISABLE_RATE_LIMITS = TrueCELERY_RESULT_BACKEND = 'amqp'CELERY_TASK_RESULT_EXPIRES = 30 * 60CELERY_IMPORTS = ('tasks', )
 |