mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Replaces unbounded `Promise.all(relays.map(...))` calls with `pMap` using a concurrency limit of 3 for background operations like history hydration, metadata fetching, and DM sending. This prevents network saturation and potential main-thread jank when many relays are configured. Includes benchmark verification script `benchmarks/relay_concurrency_repro.mjs`. Audited upload docs and confirmed accuracy. Co-authored-by: PR0M3TH3AN <[email protected]>
392 B
392 B
TODO
- Run search patterns to identify performance bottlenecks.
- Analyze search results and prioritize findings.
- Select a P0/P1 issue to fix.
- Create a reproduction/benchmark for the selected issue.
- Implement the fix (small, safe, tested).
- Verify the fix.
- Audit
/contentupload docs. - Update
/contentif necessary. - Create daily report.