mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-16 18:59:09 +00:00
Ignore HEARTBEAT_ACK for now to disable the noisy logging.
This commit is contained in:
parent
abf9be5f7d
commit
e600abbbab
@ -300,6 +300,9 @@ class DiscordWebSocket(websockets.client.WebSocketClientProtocol):
|
||||
yield from self.close()
|
||||
raise ReconnectWebSocket()
|
||||
|
||||
if op == self.HEARTBEAT_ACK:
|
||||
return # disable noisy logging for now
|
||||
|
||||
if op == self.HELLO:
|
||||
interval = data['heartbeat_interval'] / 1000.0
|
||||
self._keep_alive = KeepAliveHandler(ws=self, interval=interval)
|
||||
|
Loading…
x
Reference in New Issue
Block a user