Skip to content

Commit

Permalink
change AMQP login method to PLAIN
Browse files Browse the repository at this point in the history
  • Loading branch information
Demon-Hunter committed Aug 28, 2019
1 parent 40d99c7 commit dba9842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quant/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ async def connect(self, reconnect=False):
# Create a connection.
try:
transport, protocol = await aioamqp.connect(host=self._host, port=self._port, login=self._username,
password=self._password)
password=self._password, login_method="PLAIN")
except Exception as e:
logger.error("connection error:", e, caller=self)
return
Expand Down

0 comments on commit dba9842

Please sign in to comment.