Browse Source

update workers: 9->1

liqian 1 year ago
parent
commit
f5e6429cc5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gunicorn.config.py

+ 1 - 1
gunicorn.config.py

@@ -11,7 +11,7 @@ errorlog = os.path.join(log_path, 'error.log')
 
 # workers = 5
 # workers = 2 * cpu_count() + 1
-workers = 9
+workers = 1
 # 设置工作模式为协程
 worker_class = "gevent"
 bind = "0.0.0.0:5001"