Преглед изворни кода

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);