mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-29 08:51:53 +00:00
Replaces synchronous `fs.readFileSync` with `fs.promises.readFile` in `loadTorchConfig` to prevent event loop blocking. Updates all dependent configuration getters and consumers to use async/await. Includes benchmark proving non-blocking behavior. Fixes dashboard tests to properly await server listening. Co-authored-by: PR0M3TH3AN <[email protected]>