From 71ee7a65996a94e6b84b143491315865bad15ed0 Mon Sep 17 00:00:00 2001 From: nowgnuesLee Date: Tue, 4 Feb 2025 17:15:31 +0900 Subject: [PATCH] fix: remove kernel id to use main kernel --- react/src/components/ServiceValidationView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react/src/components/ServiceValidationView.tsx b/react/src/components/ServiceValidationView.tsx index 9fc3c51039..3afc2dff24 100644 --- a/react/src/components/ServiceValidationView.tsx +++ b/react/src/components/ServiceValidationView.tsx @@ -34,7 +34,7 @@ const ServiceValidationView: React.FC = ({ async function getLogs(sessionId: string) { return baiClient - .get_logs(sessionId, baiClient._config.accessKey, 0) + .get_logs(sessionId, baiClient._config.accessKey) .then((req: any) => { const ansi_up = new AnsiUp(); const logs = ansi_up.ansi_to_html(req.result.logs); @@ -142,7 +142,7 @@ const ServiceValidationView: React.FC = ({ // something went wrong during validation setValidationStatus('error'); message.error(t('modelService.CannotValidateNow')); - }, 10000); + }, 30000); sse?.addEventListener('bgtask_updated', async (e) => { const data = JSON.parse(e['data']);