Commit 2345dfc
committed
perf: add -nP flag to lsof and cleanup lock files after port-based kills
- Add -nP flag to lsof invocations to avoid slow DNS/service lookups
- Clean up lock files after successful process kills in port cleanup logic
- Windows: cleanup lock files after both graceful and force kills
- Unix: cleanup lock files after graceful kill completes
- Uses existing deleteLockFile() helper which safely checks existence
- Prevents stale lock files from accumulating after cleanup operations
- Improves performance by avoiding unnecessary DNS reverse lookups1 parent 375326c commit 2345dfc
1 file changed
+17
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
774 | 777 | | |
775 | 778 | | |
776 | 779 | | |
777 | 780 | | |
778 | 781 | | |
779 | 782 | | |
780 | 783 | | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
781 | 787 | | |
782 | 788 | | |
783 | 789 | | |
| |||
791 | 797 | | |
792 | 798 | | |
793 | 799 | | |
794 | | - | |
| 800 | + | |
795 | 801 | | |
796 | | - | |
797 | | - | |
798 | | - | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
799 | 809 | | |
800 | 810 | | |
801 | 811 | | |
| |||
849 | 859 | | |
850 | 860 | | |
851 | 861 | | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
852 | 865 | | |
853 | 866 | | |
854 | 867 | | |
| |||
0 commit comments