Refine
This commit is contained in:
@@ -171,7 +171,7 @@ def query_pg_scada_info_non_realtime(name: str) -> None:
|
|||||||
# 2025/03/23
|
# 2025/03/23
|
||||||
def get_new_client() -> InfluxDBClient:
|
def get_new_client() -> InfluxDBClient:
|
||||||
"""每次调用返回一个新的 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
|
# 2025/02/01
|
||||||
|
|||||||
Reference in New Issue
Block a user