feat(napcat):增加 websocket 连接重试次数
此更改将建立 websocket 连接的最大重试次数从 3 次提高到 10 次。此调整有助于提高适配器的稳定性,以及在网络不稳定的环境中建立连接的能力。
This commit is contained in:
@@ -18,7 +18,7 @@ class MessageSending:
|
||||
maibot_router: Router = None
|
||||
plugin_config = None
|
||||
_connection_retries = 0
|
||||
_max_retries = 3
|
||||
_max_retries = 10
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user