mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-02 16:32:14 +00:00
fix(crs-sync): raise frontend sync timeout to 180s
This commit is contained in:
1 file changed
+3
-1
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user