influxdb: consistency is gone

This commit is contained in:
Robert Jördens 2016-04-24 12:38:47 +02:00
parent 6c5382d43f
commit aadcf0fe98

View File

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