diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index bc7d09a..b5deae9 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -72,7 +72,7 @@ function App() { setProcessMessage('Processamento do ranking já iniciado. Aguardando...'); } - const MAX_POLLING_TIME = 5 * 60 * 1000; + const MAX_POLLING_TIME = 45 * 60 * 1000; const POLLING_INTERVAL = 4000; const startTime = Date.now(); @@ -91,7 +91,7 @@ function App() { } if (Date.now() - startTime >= MAX_POLLING_TIME) { - throw new Error('Timeout: processamento demorou mais que 5 minutos'); + throw new Error('Timeout: processamento demorou mais que 45 minutos'); } const response = await rankingService.getRanking(page, pageSize);