diff --git a/LogisticsSupportTool_API_DOCS/environments/lst.bru b/LogisticsSupportTool_API_DOCS/environments/lst.bru index bd1ed2c..4a0fccd 100644 --- a/LogisticsSupportTool_API_DOCS/environments/lst.bru +++ b/LogisticsSupportTool_API_DOCS/environments/lst.bru @@ -1,5 +1,5 @@ vars { - url: http://localhost:5500 + url: https://usbet1prod.alpla.net session_cookie: urlv2: http://localhost:3000 jwtV2: diff --git a/app/src/internal/system/routes/allServerStats.ts b/app/src/internal/system/routes/allServerStats.ts index afa5fb6..cc807e7 100644 --- a/app/src/internal/system/routes/allServerStats.ts +++ b/app/src/internal/system/routes/allServerStats.ts @@ -66,7 +66,9 @@ router.get("/", async (req, res) => { } else { url = `https://${sInfo[i].plantToken}prod.alpla.net/lst/api/system/stats`; } - const { data: prodServerInfo } = await axios.get(url); + const { data: prodServerInfo } = await axios.get(url, { + timeout: 5 * 60 * 1000, + }); // console.log( // `${sInfo[i].plantToken}, data ${JSON.stringify(prodServerInfo)}`,