dify icon indicating copy to clipboard operation
dify copied to clipboard

下载后按文档部署,运行了前后端,对话无问题,但是知识库添加后一直是排队中

Open ajavaer opened this issue 2 years ago • 3 comments

ajavaer avatar May 28 '23 10:05 ajavaer

Follow the last instruction in the README to start the worker https://github.com/langgenius/dify/blob/main/api/README.md

takatost avatar May 28 '23 14:05 takatost

Follow the last instruction in the README to start the worker https://github.com/langgenius/dify/blob/main/api/README.md

可以了,但是每次启动成功概率只有30%,剩下的70%就是启动了,又没启动。半个小时了不走任务,一直排队中

ajavaer avatar May 29 '23 12:05 ajavaer

If the problem persists, you can try the production-oriented startup command by using gevent:

celery -A app.celery worker -P gevent -c 1 --loglevel INFO

takatost avatar May 30 '23 02:05 takatost