mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-28 16:32:28 +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]>
14 lines
534 B
JSON
14 lines
534 B
JSON
[
|
|
{
|
|
"value": 10000,
|
|
"semantic": "STANDARD_TIMEOUT_MS",
|
|
"occurrences": [
|
|
{"file": "js/testHarness.js", "line": 211, "context": "timeoutMs = 10000"},
|
|
{"file": "js/nostr/relayBatchFetcher.js", "line": 19, "context": "timeoutMs = 10000"},
|
|
{"file": "js/nostr/relayBatchFetcher.js", "line": 135, "context": "timeoutMs : 10000"},
|
|
{"file": "js/nostr/client.js", "line": 812, "context": "timeoutMs = 10000"},
|
|
{"file": "js/nostr/client.js", "line": 1425, "context": "timeoutMs || 10000"}
|
|
]
|
|
}
|
|
]
|