Browse Source

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

ethanfly 2 days ago
parent
commit
e1fe12894b
1 changed files with 1 additions and 1 deletions
  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);