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:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user