Skip to content

Commit

Permalink
Lint: populate fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Omar committed Nov 28, 2023
1 parent 332b9c7 commit 47b82ca
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion core/server/api_container/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ const (
emptyFunctionName = ""

shouldFlushMetricsClientQueueOnEachEvent = false

chiselServerKeepAliveTime = 25 * time.Second
)

func main() {
Expand Down Expand Up @@ -279,8 +281,20 @@ func startTunnelServer(ctx context.Context, portalServer *KurtosisTunnelServer,
}

chiselServer, err := chserver.NewServer(&chserver.Config{
KeySeed: "",
KeyFile: "",
AuthFile: "",
Auth: "",
Proxy: "",
Socks5: false,
Reverse: false, // reverse tunnelling is not exposed through the API yet, turn it off here
KeepAlive: 25 * time.Second,
KeepAlive: chiselServerKeepAliveTime,
TLS: chserver.TLSConfig{
CA: "",
Cert: "",
Key: "",
Domains: []string{},
},
})
if err != nil {
return stacktrace.Propagate(err, "An error occurred creating chisel server")
Expand Down

0 comments on commit 47b82ca

Please sign in to comment.