Browse Source

恢复uwsgi进程数量

yf_fyh 3 years ago
parent
commit
83f5078491
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bigdataAPI.ini

+ 2 - 2
bigdataAPI.ini

@@ -11,8 +11,8 @@ module=bigdataAPI.wsgi:application
 # 启用主进程
 master=true
 # 进程个数
-processes=1
-threads = 5
+processes=2
+threads=2
 # sock的文件
 socket=/data/pycharm/bigdataAPI/bigdataAPI.sock
 #;socket=172.30.0.16:8000