Ver Fonte

启动服务时只启动一个进程

liyuyi@c-top.com.cn há 3 anos atrás
pai
commit
3040d027a2
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      readme.md

+ 1 - 1
readme.md

@@ -16,7 +16,7 @@ conda activate video_to_word <br>
 git pull http://git.tjyourong.com.cn/liyuyi/video_to_word.git <br>
 
 4、启动服务<br>
-gunicorn main:app -b 0.0.0.0:31013 -w 4 -k uvicorn.workers.UvicornWorker <br>
+gunicorn main:app -b 0.0.0.0:31013 -w 1 -k uvicorn.workers.UvicornWorker <br>
 
 2、查看日志<br>
 cd /data/pythonProject/video_to_word/logs/<br>