소스 검색

fix: 定时同步账号改为每4小时一次(原为10分钟)

ethanfly 2 일 전
부모
커밋
e1fe12894b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      client/src/stores/auth.ts

+ 1 - 1
client/src/stores/auth.ts

@@ -83,7 +83,7 @@ export const useAuthStore = defineStore('auth', () => {
       enqueueSyncAccountTasks();
     }, initialDelay);
 
-    const intervalMs = 10 * 60 * 1000;
+    const intervalMs = 4 * 60 * 60 * 1000; // 每4小时同步一次
     autoAccountSyncTimer = setInterval(() => {
       enqueueSyncAccountTasks();
     }, intervalMs);