Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

工作流无法运行 #1115

Closed
Macrow opened this issue Feb 21, 2025 · 2 comments
Closed

工作流无法运行 #1115

Macrow opened this issue Feb 21, 2025 · 2 comments

Comments

@Macrow
Copy link

Macrow commented Feb 21, 2025

v0.4.1.2

本地运行后,其他一切正常,创建最简单的工作流,无法运行,一直卡住无法输入,后端和前端没有任何错误,根本无法排查原因。

@sundayhk
Copy link

我也遇到相同情况

@Macrow
Copy link
Author

Macrow commented Feb 24, 2025

问题已解决,如果是本地开发,需要额外启动celery,如果是kubernetes的deployment,也要注意将command更改为Dockerfile里自带的entrypoint.sh即可。

  • 主程序
# workers 表示进程数量
uvicorn bisheng.main:app --host 0.0.0.0 --port 7860 --no-access-log --workers 8
  • celery
# -c 是指定celery的并发数
celery -A bisheng.worker.main worker -l info -c 16

@Macrow Macrow closed this as completed Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants