We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 825fb44 commit 14a1894Copy full SHA for 14a1894
components/local-app/pkg/bastion/bastion.go
@@ -760,6 +760,9 @@ func (b *Bastion) tunnelPorts(ws *Workspace) {
760
}
761
762
func (b *Bastion) doTunnelPorts(ctx context.Context, ws *Workspace) error {
763
+ ctx, cancel := context.WithCancel(ctx)
764
+ defer cancel()
765
+
766
statusService := supervisor.NewStatusServiceClient(ws.supervisorClient)
767
status, err := statusService.PortsStatus(ctx, &supervisor.PortsStatusRequest{
768
Observe: true,
components/supervisor/pkg/ports/served-ports.go
@@ -40,7 +40,7 @@ type ServedPortsObserver interface {
40
41
42
const (
43
- maxSubscriptions = 10
+ maxSubscriptions = 100
44
45
fnNetTCP = "/proc/net/tcp"
46
fnNetTCP6 = "/proc/net/tcp6"
0 commit comments