diff --git a/services/chwriter/channel.py b/services/chwriter/channel.py index 7456bac2bf2fec2c702cd132c3f8b020059286fe..c026cf3f3556de325185d1bfcb819a62026cd5a9 100644 --- a/services/chwriter/channel.py +++ b/services/chwriter/channel.py @@ -36,13 +36,7 @@ class Channel(object): self.last_updated = perf_counter() self.last_flushed = perf_counter() self.flushing = False - self.url = "http://%s/?user=%s&password=%s&database=%s&query=%s" % ( - address, - config.clickhouse.rw_user, - config.clickhouse.rw_password or "", - db, - self.encoded_sql, - ) + self.url = "http://%s/?database=%s&query=%s" % (address, db, self.encoded_sql) def feed(self, data: bytes): n = data.count(b"\n")