From c21c186e0ccfd640efb109487fc5343761fe829c Mon Sep 17 00:00:00 2001 From: Momentry Studio Date: Fri, 23 Oct 2026 01:22:44 +0800 Subject: [PATCH] fix: increase start_service timeout for MBE to 60s - MBE needs up to 60s to load model - Default timeout (30s) was too short causing timeout errors --- src/api/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/index.ts b/src/api/index.ts index 65629b5..6bac23c 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -654,7 +654,8 @@ case 'search_keyword': { } case 'start_service': { const mbUrl = detectBaseUrl() - return { url: `${mbUrl}/api/v2/service/start`, method: 'POST', body: { name: a.name } } + const timeout = a.name === 'mbe' ? 60000 : undefined // MBE needs 60s to load model + return { url: `${mbUrl}/api/v2/service/start`, method: 'POST', body: { name: a.name }, timeout } } // --- Admin Panel ---