Skip to content

Commit

Permalink
fix: reduce auto login times to prevent repeated qrcode log fix issue #…
Browse files Browse the repository at this point in the history
  • Loading branch information
hanfangyuan4396 authored Sep 16, 2024
1 parent a6a8049 commit 684fa19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion channel/wechat/wechat_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def exitCallback(self):
try:
time.sleep(2)
self.auto_login_times += 1
if self.auto_login_times < 100:
if self.auto_login_times < 3:
chat_channel.handler_pool._shutdown = False
self.startup()
except Exception as e:
Expand Down

0 comments on commit 684fa19

Please sign in to comment.