This commit is contained in:
DingZQ
2025-03-24 22:10:25 +08:00
parent 837c262f91
commit 725cb7aa1e

View File

@@ -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