What do you mean by "function of automatic overload"? Please try to follow the issue template
“自动过载功能”是什么意思?请尝试遵循问题模板
That is, the program throws an error and then automatically rerun the program
You need to provide more details - are you wanting something similar to a backoff retry mechanism?
Also I'm sorry, but I don't speak that language.
You need to provide more details - are you wanting something similar to a backoff retry mechanism?
Also I'm sorry, but I don't speak that language.
When my fastapi program stops after an error, I want it to automatically start the fastapi program
If you are running your fastapi program with gunicorn, it will already do this
gunicorn
gunicorn
Do I need to switch from uvicorn to gunicorn
Uvicorn can be run with gunicorn, see the documentation here: https://www.uvicorn.org/#running-with-gunicorn
If this has solved your problem, can you please close this issue?