Commit Graph
3 Commits
Author SHA1 Message Date
Raven Scott be7bd5ee2b perf: parallelize holesail cleanup operations for 10x faster shutdown
Convert sequential cleanup loops to Promise.allSettled() across multiple files:
- includes/maintenance/cleanup.js: parallelize holesail connections, TLS/HTTP servers, and child process cleanup
- includes/core/domain_cleanup.js: parallelize multiple client cleanup within domain removal
- p2ns.js: parallelize child process and connection cleanup in main shutdown

Before: O(n) sequential execution (100-150s for 10 processes)
After: O(1) parallel execution (~10-15s for 10 processes)
2025-12-26 21:29:39 -05:00
Raven Scott 75a2792579 - Fix "removedIPs is not defined" error in cleanupInterfaces function
by initializing removedIPs outside conditional block
2025-12-21 02:15:59 -05:00
Raven Scott 742e27d3f7 reorg 2025-12-17 20:05:50 -05:00