mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
fix(crs-sync): raise frontend sync timeout to 180s
This commit is contained in:
@@ -560,7 +560,9 @@ export async function syncFromCrs(params: {
|
||||
action: 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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user