@@ -11,6 +11,8 @@ errorlog = os.path.join(log_path, 'error.log')
# workers = 5
workers = 2 * cpu_count() + 1
+# 线程数 20240223 单线程改为多线程 解决服务挂掉问题
+threads = cpu_count()
# 设置工作模式为协程
worker_class = "gevent"
bind = "0.0.0.0:5001"