批量打分接口超时时间从15s增加到180s,避免6品种同步时超时
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,7 @@ export function runPipeline(req: RunRequest) {
|
||||
}
|
||||
|
||||
export function runBatch() {
|
||||
return client.post('/run/batch').then((r) => r.data)
|
||||
return client.post('/run/batch', null, { timeout: 180_000 }).then((r) => r.data)
|
||||
}
|
||||
|
||||
export function getActiveContract(symbol: string) {
|
||||
|
||||
Reference in New Issue
Block a user