Merge pull request 'Fix voice extract timeout for production ASR+LLM pipeline' (#69) from feature/ci-cd into master
All checks were successful
Registry — build, push, deploy / build-and-push (push) Successful in 1m37s
Registry — build, push, deploy / deploy (push) Successful in 38s

Reviewed-on: http://host.docker.internal:3000/admin/dyolink/pulls/69
Reviewed-by: admin <admin@localhost>
This commit was merged in pull request #69.
This commit is contained in:
2026-08-25 14:42:23 +03:30

View File

@@ -22,8 +22,11 @@ export const voiceApi = {
payload: ExtractVoicePayload, payload: ExtractVoicePayload,
signal?: AbortSignal, signal?: AbortSignal,
): Promise<{ success: boolean; data: VoiceExtractionResult }> => { ): Promise<{ success: boolean; data: VoiceExtractionResult }> => {
// Forwarded so cancelling closes the connection; the controller turns that into an abort. // ASR + LLM routinely exceeds the default 10s axios timeout; match slow upload endpoints.
const response = await apiClient.post('/voice/extract', payload, { signal }); const response = await apiClient.post('/voice/extract', payload, {
signal,
timeout: 120_000,
});
return response.data; return response.data;
}, },
}; };