mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-02 10:52:27 +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]>
11 lines
173 B
Markdown
11 lines
173 B
Markdown
# Initial Baseline
|
|
|
|
## Metrics
|
|
- Login time: TBD
|
|
- Decrypt queue sizes: TBD
|
|
- Relay latencies: TBD
|
|
- Active WebTorrent clients: TBD
|
|
|
|
## Observations
|
|
- Initial scan pending.
|