mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Replaces unbounded Promise.all with pMap and RELAY_BACKGROUND_CONCURRENCY (3) in js/nostr/dmSignalEvents.js and js/services/dmNostrService.js to prevent network saturation. Includes context logs and daily performance report. Co-authored-by: PR0M3TH3AN <[email protected]>
456 B
456 B
Decisions - Perf Agent - 2026-02-17
- Decision: Use
pMapwithRELAY_BACKGROUND_CONCURRENCY(3) for DM signal publishing and DM service connection/publishing.- Rationale: Prevents network saturation when users have many relays configured.
Promise.alllaunches all requests simultaneously, which can cause timeouts or UI lag.
- Rationale: Prevents network saturation when users have many relays configured.
- Decision: Update documentation port to 3000.
- Rationale: Matches standard dev environment default.