mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-30 17:43:32 +00:00
Set info level when logging acks
This commit is contained in:
parent
6fa8375cb5
commit
3051adb5b9
@ -321,7 +321,7 @@ class Session:
|
|||||||
# )
|
# )
|
||||||
|
|
||||||
if len(self.pending_acks) >= self.ACKS_THRESHOLD:
|
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:
|
try:
|
||||||
self._send(types.MsgsAck(list(self.pending_acks)), False)
|
self._send(types.MsgsAck(list(self.pending_acks)), False)
|
||||||
|
Loading…
Reference in New Issue
Block a user