瀏覽代碼

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