Commit 0b22d4d
committed
refactor: scan Jupyter port range (8888-8895) during cleanup
- Change from single port 8888 to range 8888-8895
- Jupyter increments port when 8888 is busy, so we need to check multiple ports
- Add timing measurement for port-based cleanup phase
- Log cleanup duration for performance monitoring
The loop adds minimal overhead as each port check is fast when no process
is listening. Timing is logged at debug level for monitoring.1 parent a977208 commit 0b22d4d
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
839 | 839 | | |
840 | 840 | | |
841 | 841 | | |
| 842 | + | |
842 | 843 | | |
843 | 844 | | |
844 | 845 | | |
845 | | - | |
| 846 | + | |
846 | 847 | | |
847 | | - | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
848 | 857 | | |
849 | 858 | | |
850 | 859 | | |
| |||
0 commit comments