2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-30 13:57:54 +00:00

Set info level when logging acks

This commit is contained in:
Dan 2017-12-12 08:38:05 +01:00
parent 6fa8375cb5
commit 3051adb5b9

View File

@ -321,7 +321,7 @@ class Session:
# )
if len(self.pending_acks) >= self.ACKS_THRESHOLD:
log.warning("Send {} acks".format(len(self.pending_acks)))
log.info("Send {} acks".format(len(self.pending_acks)))
try:
self._send(types.MsgsAck(list(self.pending_acks)), False)