mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
705 B
705 B
Decisions
-
Refactor
5000in UI controllers toSHORT_TIMEOUT_MS:- Context: Used in
setTimeoutfor clearing status messages. - Decision: Use
SHORT_TIMEOUT_MSfromjs/constants.jswhich is already defined as 5000. - Rationale: Increases consistency and makes the timeout configurable from a central location if needed.
- Context: Used in
-
Refactor
60000injs/webtorrent.jstoLONG_TIMEOUT_MS:- Context: Used as
TIMEOUT_DURATIONfor service worker operations. - Decision: REVERTED to
60000. - Rationale: CI checks failed with timeouts. Reverting
webtorrent.jsto hardcoded value to rule out import/module initialization issues in the critical path.
- Context: Used as