mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Also updates perf/constants-refactor/candidates.json and adds completion log. Co-authored-by: PR0M3TH3AN <[email protected]>
774 B
774 B
Daily Task: const-refactor-agent
Date: 2026-02-19 Agent: const-refactor-agent Status: Completed
Actions Taken
- Identified
5000usage injs/subscriptions.jsas a candidate forSHORT_TIMEOUT_MS. - Verified
SHORT_TIMEOUT_MSexists injs/constants.js(value: 5000). - Updated
perf/constants-refactor/candidates.jsonwith the new finding. - Refactored
js/subscriptions.jsto importSHORT_TIMEOUT_MSand use it fornip07DecryptTimeoutMsfallback. - Verified changes with
npm run lintandnpm run test:unit.
Findings
js/subscriptions.jsuses12000for interactive timeout, whilejs/userBlocks.jsuses15000. This inconsistency remains but the silent fallback is now canonicalized toSHORT_TIMEOUT_MSinsubscriptions.js.