github-actions[bot] commited on
Commit
1877b95
·
1 Parent(s): 9dbf793

Update from GitHub Actions

Browse files
Files changed (2) hide show
  1. functions/utils/authService.ts +1 -1
  2. index.ts +1 -1
functions/utils/authService.ts CHANGED
@@ -91,7 +91,7 @@ export class AuthService {
91
  }
92
 
93
  private async handleMultiFactorAuth(page: Page, account: Account) {
94
- for (let i = 0; i < 2; i++) {
95
  try {
96
  await page.waitForURL('https://account.live.com/identity/**', { timeout: 5000 });
97
  const proofEmail = account.proofEmail;
 
91
  }
92
 
93
  private async handleMultiFactorAuth(page: Page, account: Account) {
94
+ for (let i = 0; i < 3; i++) {
95
  try {
96
  await page.waitForURL('https://account.live.com/identity/**', { timeout: 5000 });
97
  const proofEmail = account.proofEmail;
index.ts CHANGED
@@ -297,7 +297,7 @@ serve({
297
  setInterval(() => {
298
  const envWithKV = { ...process.env, KV: kv };
299
  checkEmailsForNewMessages(envWithKV as unknown as Env);
300
- }, 60000); // 每分钟检查一次
301
  })
302
 
303
  export default app
 
297
  setInterval(() => {
298
  const envWithKV = { ...process.env, KV: kv };
299
  checkEmailsForNewMessages(envWithKV as unknown as Env);
300
+ }, 600000); // 每10分钟检查一次
301
  })
302
 
303
  export default app