forked from M-Labs/artiq
influxdb: consistency is gone
This commit is contained in:
parent
6c5382d43f
commit
aadcf0fe98
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue