mirror of
https://github.com/barkeser2002/offline-db.git
synced 2026-09-25 02:59:54 +03:00
- 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>