mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-28 16:32:28 +00:00
- Replace `Promise.all` with `pMap` in `js/nostr/commentEvents.js` to limit concurrent relay requests to `RELAY_BACKGROUND_CONCURRENCY` (3). - Update `content/docs/guides/upload-content.md` to use port 3000 for CORS, matching `npm start` default. - Update agent artifacts (`CONTEXT.md`, `TODO.md`, `DECISIONS.md`, `TEST_LOG.md`, `INITIAL_BASELINE.md`). Co-authored-by: PR0M3TH3AN <[email protected]>
10 lines
414 B
Markdown
10 lines
414 B
Markdown
# Decisions Log
|
|
|
|
## Performance
|
|
- **2026-02-xx:** Use `pMap` with `RELAY_BACKGROUND_CONCURRENCY` (3) for comment publishing and fetching.
|
|
- **Rationale:** `Promise.all` floods the network when users have many relays. Bounding concurrency prevents resource exhaustion.
|
|
|
|
## Documentation
|
|
- **2026-02-xx:** Standardize local dev port to 3000 in docs.
|
|
- **Rationale:** Matches `npm start` default and `README.md`.
|