perf: bound DM subsystem network concurrency & fix CI lint buffer

- 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.
- Increased `maxBuffer` in `scripts/check-hex.js` to 10MB to prevent `ENOBUFS` when git text search matches large minified files in CI.
- Verified documentation in `content/docs/guides/upload-content.md` correctly specifies port 3000.
- Passed all unit and integration tests.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-17 07:58:40 +00:00
1 parent 799c336bf3
commit b8832dcae8
5 files changed
+18 -10

No files matched your search

+2 -1
View File
@@ -55,7 +55,8 @@ for (const glob of IGNORED_GLOBS) {
// We rely on 'git' being available and 'git grep' supporting -P.
// Typically available in most CI/dev environments.
const result = spawnSync('git', gitArgs, { encoding: 'utf8' });
// Increase maxBuffer to 10MB to prevent ENOBUFS on large minified files
const result = spawnSync('git', gitArgs, { encoding: 'utf8', maxBuffer: 10 * 1024 * 1024 });
if (result.error) {
console.error('Failed to execute git grep:', result.error.message);