0627更新

main
zhangxuxutm 2 years ago
parent f3083044fa
commit 7e816e639b

@ -1 +1 @@
jtTFa-rtobjdxWm7fKS7Tk2gZECrXwdM59799SddTcqDWDGiQTPEFYy5VW6IHgsAK5RZMtMLWmpZA3PaipOkmg==
0n-Av3orXZphU_Uu7yiyQz5T6O1iz1eeNiilL97c9KttfzVkv8hMHawibbh7WDGUTC8Qie26UKf6govwsY0NXQ==

@ -1,4 +1,4 @@
engine-path: "C:\\Users\\zcw\\Desktop\\DCS\\Static\\influxDB\\engine"
http-bind-address: ":6324"
engine-path: "engine"
http-bind-address: ":8086"
storage-cache-max-memory-size: 268435456
bolt-path: "C:\\Users\\zcw\\Desktop\\DCS\\Static\\influxDB\\engine\\influxd.bolt"
bolt-path: "engine\\influxd.bolt"

@ -20,7 +20,7 @@ def parseDate(date_string: str):
class HistoryDBManage():
org = "DCS"
# bucket = "history"
url = "http://localhost:6324"
url = "http://localhost:8086"
def __init__(self, bucket, mem = None, isCelery = True):
self.getToken(isCelery)

@ -256,7 +256,7 @@ class ProjectManage(object):
curTime = float("{:.5f}".format(curTime))
cursor.execute('insert into InfluxMem (mem) values ({})'.format(str(curTime)))
historyDB = HistoryDBManage(mem = curTime, bucket = projectName, isCelery = False)
historyDB = HistoryDBManage(mem = curTime, bucket = projectName, isCelery = True)
return historyDB
@classmethod

Loading…
Cancel
Save