mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-28 00:12:25 +00:00
perf: bound DM subsystem network concurrency & fix CI lint/tests
- 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. - Updated `js/services/exploreDataService.js` to trigger immediate data refresh (`refreshWatchHistoryTagCounts` and `refreshTagIdf`) when visibility state changes to visible, fixing a unit test failure. - Includes daily performance report and context logs. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
91ec9b32c5
commit
f1c83534d6
130 files changed
+5831
-7557
No files matched your search
@@ -38,8 +38,8 @@ def run():
|
||||
page.on("requestfailed", on_request_failed)
|
||||
|
||||
try:
|
||||
log("INFO", "Navigating to http://localhost:3000...")
|
||||
page.goto("http://localhost:3000")
|
||||
log("INFO", "Navigating to http://localhost:8000...")
|
||||
page.goto("http://localhost:8000")
|
||||
|
||||
# Wait for load state to ensure initial resources are loaded
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user