From 03c10a3d77aded820088e8cd9a64f40e74773a1c Mon Sep 17 00:00:00 2001 From: Scott Pouliot Date: Sat, 25 Apr 2026 22:45:36 -0400 Subject: [PATCH] Recalibrate progress bar to 27s/batch based on observed run time Co-Authored-By: Claude Sonnet 4.6 --- src/PowderCoating.Web/wwwroot/js/catalog-price-check.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PowderCoating.Web/wwwroot/js/catalog-price-check.js b/src/PowderCoating.Web/wwwroot/js/catalog-price-check.js index 5cee057..47cc98f 100644 --- a/src/PowderCoating.Web/wwwroot/js/catalog-price-check.js +++ b/src/PowderCoating.Web/wwwroot/js/catalog-price-check.js @@ -11,10 +11,10 @@ if (!form || !btn || !overlay) return; // Estimate total seconds based on item count. - // Haiku sequential: 1 batch at a time, ~22s each (API time + 20s pacing gap). + // Haiku sequential: 1 batch at a time, ~27s each (API time + 20s pacing gap). function estimateDuration(itemCount) { var batches = Math.max(1, Math.ceil(itemCount / 25)); - return Math.max(30, batches * 22); + return Math.max(30, batches * 27); } // Messages keyed to approximate progress milestones (0–100).