fix(crs-sync): raise frontend sync timeout to 180s

This commit is contained in:
feitianbubu committed 2026-07-09 09:45:47 +08:00
1 parent 6f43986c37
commit 4e5be8f75e
1 file changed
+3 -1
+3 -1
View File
@@ -560,7 +560,9 @@ export async function syncFromCrs(params: {
action: string action: string
error?: string error?: string
}> }>
}>('/admin/accounts/sync/crs', params) }>('/admin/accounts/sync/crs', params, {
timeout: 180000 // 180s timeout: sync refreshes each existing account's OAuth token serially
})
return data return data
} }