Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
noc
Commits
1359ba2e
Verified
Commit
1359ba2e
authored
Aug 17, 2021
by
Andrey Vertiprahov
Browse files
Remove url excess param user and password from chwriter POST Clickhouse query.
parent
d5e03df7
Pipeline
#33082
passed with stages
in 20 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
services/chwriter/channel.py
View file @
1359ba2e
...
...
@@ -36,10 +36,8 @@ 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"
%
(
self
.
url
=
"http://%s/?database=%s&query=%s"
%
(
address
,
config
.
clickhouse
.
rw_user
,
config
.
clickhouse
.
rw_password
or
""
,
db
,
self
.
encoded_sql
,
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment