@@ -11,6 +11,10 @@ errorlog = os.path.join(log_path, 'error.log')
# workers = 5
workers = 2 * cpu_count() + 1
+# 线程数
+# threads = cpu_count()
# 设置工作模式为协程
worker_class = "gevent"
bind = "0.0.0.0:5001"
+# 超时时间
+timeout = 120