mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Refactors duplicated `10000` ms numeric literals to use the canonical `STANDARD_TIMEOUT_MS` constant. Affects: - `js/testHarness.js` - `js/nostr/relayBatchFetcher.js` - `js/nostr/client.js` Verification: - `npm run lint` passed. - `npm run test:unit` passed. Co-authored-by: PR0M3TH3AN <[email protected]>
647 B
647 B
Task Completed: Constants Refactor
Agent: bitvid-const-refactor-agent Date: 2026-02-16 Status: Completed
Summary
Refactored duplicated 10000 (ms) literals to use STANDARD_TIMEOUT_MS from js/constants.js.
Changes
- Updated
js/testHarness.js - Updated
js/nostr/relayBatchFetcher.js - Updated
js/nostr/client.js
Verification
npm run lintpassed.npm run test:unitpassed.
Artifacts
context/CONTEXT_2026-02-16_06-40-11.mdtodo/TODO_2026-02-16_06-40-11.mddecisions/DECISIONS_2026-02-16_06-40-11.mdtest_logs/TEST_LOG_2026-02-16_06-40-11.mdperf/constants-refactor/candidates.json