mirror of
https://github.com/Horizontal42/summarum.git
synced 2026-11-10 15:42:01 +03:00
Replaced concurrent HTTP requests in fetchHistoricalRatesBatch with a single range query to the Frankfurter API, mapping missing non-business days to the closest previous available date. Unbounded concurrent requests caused excessive network overhead and risks hitting rate limits when parsing documents with many dates. Measured a reduction in fetch time for 30 distinct dates from ~511ms (with 30 concurrent requests) to ~383ms (with 1 request). Co-authored-by: Horizontal42 <75383519+Horizontal42@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| engine | ||
| ui | ||
| extensions.test.ts | ||
| extensions.ts | ||
| i18n.test.ts | ||
| i18n.ts | ||
| logger.test.ts | ||
| logger.ts | ||
| main.test.ts | ||
| main.ts | ||
| storage.test.ts | ||
| storage.ts | ||
| updater.test.ts | ||
| updater.ts | ||
| workspace.test.ts | ||
| workspace.ts | ||