Commit 42ef023
committed
Use the same port for all executors
Gateway seems to keep the SSH sessions up (as indicated by the Coder
proxy process persisting) and since we have one executor using port 22
and another using port 0 it was spawning two separate processes.
Using the same port causes it to use the existing process. No idea if
this will really affect much but I guess it does at least help guarantee
that if you were able to list the editors you will be able to connect as
well since it would use the same connection?1 parent e4bef0b commit 42ef023
File tree
1 file changed
+5
-4
lines changed- src/main/kotlin/com/coder/gateway/views/steps
1 file changed
+5
-4
lines changedLines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
| 220 | + | |
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| |||
351 | 352 | | |
352 | 353 | | |
353 | 354 | | |
354 | | - | |
| 355 | + | |
0 commit comments