feat: 未知错误不重试

This commit is contained in:
shanmite 2023-02-12 11:38:34 +08:00
parent 50c22a4ecf
commit 0ab5ec0540

View File

@ -603,7 +603,7 @@ class Monitor extends Searcher {
status = await retryfn(
6,
[1, 4],
[4, 8, 9],
() => bili.sendChat(
rid,
is_repost_then_chat ? relay_chat.split('//')[0] : chat,
@ -669,7 +669,7 @@ class Monitor extends Searcher {
if (dyid) {
status = await retryfn(
5,
[1, 3, 4],
[3, 4],
() => bili.autoRelay(global_var.get("myUID"), dyid, relay_chat, ctrl)
)