From 725cb7aa1e2700fdeb52d193f420029a9dac3fcd Mon Sep 17 00:00:00 2001 From: DingZQ Date: Mon, 24 Mar 2025 22:10:25 +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 2e9f91b..becf81c 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) + return InfluxDBClient(url=url, token=token, org=org_name, timeout=100*1000) # 100 seconds # 2025/02/01