Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Release Engineering
Public
distrobuild
Commits
d08aaefd
Commit
d08aaefd
authored
Apr 11, 2021
by
Mustafa Gezen
🏗
Browse files
Avoid leaking amqp credentials
parent
1c1fe070
Changes
1
Hide whitespace changes
Inline
Side-by-side
distrobuild_scheduler/__init__.py
View file @
d08aaefd
...
...
@@ -44,7 +44,7 @@ async def init_channel(loop) -> None:
global
channel
global
connection
connection
=
await
aio_pika
.
connect_robust
(
settings
.
broker_url
,
loop
=
loop
)
logger
.
info
(
"[*] Connected to
{}"
.
format
(
settings
.
broker_url
)
)
logger
.
info
(
"[*] Connected to
amqp"
)
channel
=
await
connection
.
channel
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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