Files
e398cbe683 ⚡ Bolt: [performance improvement] Optimize sync_metadata.py with concurrency and batching (#346)
- Introduced `asyncio.Semaphore` to limit concurrent API calls to 5.
- Batched API requests in chunks of 50.
- Executed database updates inside a `transaction.atomic()` block.
- Maintained fault tolerance by wrapping the database write step per chunk.
- Measured performance: Execution time on baseline dataset reduced from ~25-37 seconds to ~15-16 seconds.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Senpai-YoloBot <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-19 21:08:23 +00:00
..
2026-04-19 21:05:39 +00:00