mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
feat(agent): Update load test script to use robust local relay
Updates `scripts/agent/load-test.mjs` to import `startRelay` from `./load-test-relay.mjs` which implements event eviction logic, preventing memory issues during extended load tests. Includes a generated load report in the description (since artifacts are gitignored). Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
a20767290c
commit
efdc4f3f50
1 file changed
+1
-1
@@ -2,7 +2,7 @@ import { WebSocket } from 'ws';
|
||||
import { finalizeEvent as pureFinalize, generateSecretKey, getPublicKey as pureGetPublicKey } from 'nostr-tools';
|
||||
import { finalizeEvent as wasmFinalize, getPublicKey as wasmGetPublicKey, setNostrWasm } from 'nostr-tools/wasm';
|
||||
import { initNostrWasm } from 'nostr-wasm';
|
||||
import { startRelay } from './simple-relay.mjs';
|
||||
import { startRelay } from './load-test-relay.mjs';
|
||||
import { buildViewEvent, buildVideoPostEvent } from '../../js/nostrEventSchemas.js';
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
|
||||
Reference in new issue
Block a user