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