Restore 3 concurrent batches with Haiku; recalibrate progress bar
Haiku has generous rate limits so parallelism is safe again. Retry logic catches any 429s. Progress estimate updated to ~8s per wave. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -11,10 +11,11 @@
|
||||
if (!form || !btn || !overlay) return;
|
||||
|
||||
// Estimate total seconds based on item count.
|
||||
// Batches run sequentially (1 at a time) at roughly 18s each.
|
||||
// Haiku: 3 concurrent batches, ~8s per wave.
|
||||
function estimateDuration(itemCount) {
|
||||
var batches = Math.max(1, Math.ceil(itemCount / 25));
|
||||
return Math.max(30, batches * 18);
|
||||
var waves = Math.ceil(batches / 3);
|
||||
return Math.max(15, waves * 8);
|
||||
}
|
||||
|
||||
// Messages keyed to approximate progress milestones (0–100).
|
||||
|
||||
Reference in New Issue
Block a user