Recalibrate progress bar to 27s/batch based on observed run time

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-25 22:45:36 -04:00
parent ff79c39e83
commit 03c10a3d77
@@ -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 (0100).