mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
perf: bound DM subsystem network concurrency & fix CI lint
- Replaced unbounded `Promise.all` with `pMap` and `RELAY_BACKGROUND_CONCURRENCY || 3` in `js/nostr/dmSignalEvents.js` and `js/services/dmNostrService.js` to prevent network saturation. - Updated `scripts/check-hex.js` to exclude agent artifact directories (`perf/`, `test_logs/`, `context/`, etc.) to prevent lint failures when agents log code snippets or hex codes. - Increased `maxBuffer` in `scripts/check-hex.js` to 10MB to be robust against large matches. - Includes daily performance report and context logs. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
b8832dcae8
commit
0c5c8c5a2e
4 files changed
+23
-15
No files matched your search
@@ -10,9 +10,11 @@
|
||||
**Actions:**
|
||||
- **Identified:** Unbounded `Promise.all` usage in `js/nostr/dmSignalEvents.js` and `js/services/dmNostrService.js`.
|
||||
- **Fixed:** Replaced with `pMap` and `RELAY_BACKGROUND_CONCURRENCY || 3`.
|
||||
- **Fixed CI:** Increased `maxBuffer` in `scripts/check-hex.js` to 10MB to prevent `ENOBUFS` when `git grep` matches large minified files.
|
||||
- **Fixed CI:**
|
||||
- Increased `maxBuffer` in `scripts/check-hex.js` to 10MB.
|
||||
- Added exclusions for agent artifact directories (`perf/`, `test_logs/`, etc.) to `scripts/check-hex.js` to prevent linting agent logs.
|
||||
- **Verified:** Documentation in `content/docs/guides/upload-content.md` correctly specifies port 3000.
|
||||
- **Tested:** Unit and integration tests for DM subsystem passed. Lint passed.
|
||||
- **Tested:** Unit and integration tests for DM subsystem passed. Lint passed locally.
|
||||
|
||||
**Files Changed:**
|
||||
- `js/nostr/dmSignalEvents.js`
|
||||
|
||||
Reference in new issue
Block a user