@@ -1,5 +1,5 @@
reload = true
-bind = "0.0.0.0:6062"
+bind = "0.0.0.0:6060"
workers = 4
keep_alive_timeout = 120 # 保持连接的最大秒数,根据需要调整
graceful_timeout = 30 # 重启或停止之前等待当前工作完成的时间
@@ -4,6 +4,6 @@
# 默认数据库表
db_config = ""
-port = "6062"
+port = "6060"
ip = "localhost"
@@ -192,7 +192,7 @@ def test_request(url):
print(b - a)
-url_list = ["http://192.168.100.31:6061/nlp"]
+url_list = ["http://192.168.100.31:6062/nlp"]
test_request(url_list[0])
# with ThreadPoolExecutor(max_workers=3) as Pool:
# Pool.map(test_request, url_list)