Skip to content

Commit fe97808

Browse files
Update session.py
1 parent 0899db1 commit fe97808

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyrogram/session/session.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@ async def recv_worker(self):
305305
error_code, Session.TRANSPORT_ERRORS.get(error_code, "unknown error")
306306
)
307307
print("break")
308+
await asyncio.sleep(50)
309+
308310
break
309311

310312
if self.is_started.is_set():

0 commit comments

Comments
 (0)