mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-05 04:11:53 +00:00
[constants] Refactor 1000 to MS_PER_SECOND
- Extracted MS_PER_SECOND to src/constants.mjs - Replaced literal 1000 in src/relay-health.mjs, src/utils.mjs, src/lib.mjs, src/lock-ops.mjs - Updated test/scheduler-lock-failure-schema.contract.test.mjs to copy constants.mjs - Added task log and artifacts Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
510e05ab54
commit
2174e8bc4d
11 files changed
+54
-9
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# Context for Constant Refactor
|
||||
|
||||
- **Goal:** Find and refactor duplicated numeric constants.
|
||||
- **Scope:** `src/` directory.
|
||||
- **Constraints:** Keep changes minimal and safe.
|
||||
Reference in new issue
Block a user