From 7e19ef83ec3dbf173373b5bff3e2b57cafa6fc5d Mon Sep 17 00:00:00 2001 From: DingZQ Date: Mon, 24 Mar 2025 22:10:53 +0800 Subject: [PATCH] Refine --- influxdb_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/influxdb_api.py b/influxdb_api.py index becf81c..df526f8 100644 --- a/influxdb_api.py +++ b/influxdb_api.py @@ -171,7 +171,7 @@ def query_pg_scada_info_non_realtime(name: str) -> None: # 2025/03/23 def get_new_client() -> InfluxDBClient: """每次调用返回一个新的 InfluxDBClient 实例。""" - return InfluxDBClient(url=url, token=token, org=org_name, timeout=100*1000) # 100 seconds + return InfluxDBClient(url=url, token=token, org=org_name, timeout=600*1000) # 600 seconds # 2025/02/01