Commit 4813f6a
committed
fix: round-5 review — constant-time finalized check in missing finalization
The guard-skipped loop tested membership against the finalized list, scanning
up to 200k dicts per missing item — quadratic job finalization that can appear
hung on a large complete import. Test the item's source_key against the
already-built marked_keys set instead.1 parent ff4aba6 commit 4813f6a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
| 386 | + | |
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| |||
0 commit comments