From 812571b17759cdaff10c210e275a38e4ddc2ce27 Mon Sep 17 00:00:00 2001 From: webmaster Date: Mon, 2 Nov 2026 15:19:54 +0000 Subject: [PATCH] fix(bootcamp): give the availability fetch a 6s bound (cold-start headroom) Measured live from the browser: the webhook answers in ~2.2-2.6s warm but a cold first connection can exceed the old 3s abort, so the count would fall back to the static text on a fresh visit. 6s is bounded and nothing blocks the buy either way. --- static/bootcamp-availability.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/bootcamp-availability.js b/static/bootcamp-availability.js index e64c1ca..d5ca275 100644 --- a/static/bootcamp-availability.js +++ b/static/bootcamp-availability.js @@ -22,7 +22,7 @@ var ENDPOINT = 'https://n8n.odoo4projects.com/webhook/ODOO4projects/available'; var PRODUCT_ID = 17; var CAP = 6; /* the page's own cohort cap ("Limited to 6 participants") */ - var TIMEOUT_MS = 3000; + var TIMEOUT_MS = 6000; /* The page's own words and language. "seat" = seat / Platz / plaza, as used elsewhere on the same page ("A seat can be transferred" / "Ein Platz ist übertragbar" /