From 9b7a3ff7e939c16d9e3ea2dfb50a6ec3cc62bc63 Mon Sep 17 00:00:00 2001 From: Atti Ur Rehman Date: Tue, 23 Jun 2026 14:11:50 +0300 Subject: [PATCH] fix: a warm note about cold start on login page and READEM.md --- README.md | 2 +- frontend/src/pages/LoginPage.tsx | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 74bceca..d9acb6e 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Live: https://insightiq-frontend.orangemeadow-25c8b891.westeurope.azurecontainerapps.io -**Scale-to-zero:** both apps sleep when idle (`min-replicas: 0`). First visit after idle may take **30–90 seconds** while Azure starts containers. Open the [frontend](https://insightiq-frontend.orangemeadow-25c8b891.westeurope.azurecontainerapps.io) before a demo; sign-in wakes the backend automatically. +**Demo tip:** First visit after idle may take **~30–60s** while the app wakes from scale-to-zero — deliberate idle scaling keeps hosting near **$0**. Open the [frontend](https://insightiq-frontend.orangemeadow-25c8b891.westeurope.azurecontainerapps.io) a minute before a demo; sign-in wakes the backend automatically. --- diff --git a/frontend/src/pages/LoginPage.tsx b/frontend/src/pages/LoginPage.tsx index 411a882..d779a52 100644 --- a/frontend/src/pages/LoginPage.tsx +++ b/frontend/src/pages/LoginPage.tsx @@ -261,9 +261,13 @@ const LoginPage: React.FC = () => { tracking-[-0.3px] mb-1"> Sign in to your workspace -

+

Continue with your Google account to access your analytics.

+

+ First load after idle may take up to a minute while the app wakes. + Scale-to-zero keeps hosting near $0 when nobody is using it. +

{/* Error */} {error && (