forked from M-Labs/artiq
1
0
Fork 0

influxdb: consistency is gone

This commit is contained in:
Robert Jördens 2016-04-24 12:38:47 +02:00
parent 6c5382d43f
commit aadcf0fe98
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class DBWriter(TaskObject):
k, v = await self._queue.get() k, v = await self._queue.get()
url = self.base_url + "/write" url = self.base_url + "/write"
params = {"u": self.user, "p": self.password, "db": self.database, params = {"u": self.user, "p": self.password, "db": self.database,
"consistency": "any", "precision": "ms"} "precision": "ms"}
fmt_ty, fmt_v = format_influxdb(v) fmt_ty, fmt_v = format_influxdb(v)
data = "{},dataset={} {}={}".format(self.table, k, fmt_ty, fmt_v) data = "{},dataset={} {}={}".format(self.table, k, fmt_ty, fmt_v)
try: try: