fix(mail): split 2925 initial polling around resend

This commit is contained in:
InkCrow
2026-05-13 02:28:02 +08:00
parent 24a0b8a45d
commit 6118d02f56
4 changed files with 32 additions and 14 deletions
+3 -2
View File
@@ -550,8 +550,9 @@
}
},
targetEmail: fixedTargetEmail,
maxResendRequests: mail.provider === '2925' ? 1 : undefined,
initialPollMaxAttempts: mail.provider === '2925' ? 2 : undefined,
maxResendRequests: mail.provider === '2925' ? 2 : undefined,
initialPollMaxAttempts: mail.provider === '2925' ? 5 : undefined,
pollAttemptPlan: mail.provider === '2925' ? [2, 3, 15] : undefined,
resendIntervalMs: mail.provider === LUCKMAIL_PROVIDER
? 15000
: ((mail.provider === HOTMAIL_PROVIDER || mail.provider === '2925')