From 51f2e7fd8eba9e8c6ea6abd5525ce6727c675686 Mon Sep 17 00:00:00 2001 From: QLHazyCoder <2825305047@qq.com> Date: Thu, 9 Apr 2026 23:16:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E6=9C=80=E5=A4=A7?= =?UTF-8?q?=E8=BD=AE=E6=AC=A1=E5=B8=B8=E9=87=8F=E4=BB=A5=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E8=BD=AE=E8=AF=A2=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- background.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index a57ddfd..3fa7cc7 100644 --- a/background.js +++ b/background.js @@ -1225,6 +1225,7 @@ let autoRunActive = false; let autoRunCurrentRun = 0; let autoRunTotalRuns = 1; let autoRunAttemptRun = 0; +const VERIFICATION_POLL_MAX_ROUNDS = 9; const AUTO_STEP_DELAYS = { 1: 2000, 2: 2000, @@ -1744,7 +1745,7 @@ async function pollFreshVerificationCode(step, state, mail, pollOverrides = {}) let lastError = null; let filterAfterTimestamp = pollOverrides.filterAfterTimestamp ?? getVerificationPollPayload(step, state).filterAfterTimestamp; - const maxRounds = pollOverrides.maxRounds || 3; + const maxRounds = pollOverrides.maxRounds || VERIFICATION_POLL_MAX_ROUNDS; for (let round = 1; round <= maxRounds; round++) { if (round > 1) {