Skip to content

Commit 09f7ff1

Browse files
committed
spike comments
1 parent f92ae51 commit 09f7ff1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/workspaceagentsrpc.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ func (api *API) workspaceAgentRPC(rw http.ResponseWriter, r *http.Request) {
105105

106106
ycfg := yamux.DefaultConfig()
107107
ycfg.LogOutput = nil
108-
ycfg.Logger = slog.Stdlib(ctx, logger.Named("yamux"), slog.LevelDebug)
108+
ycfg.Logger = slog.Stdlib(ctx, logger.Named("yamux"), slog.LevelInfo)
109109

110-
mux, err := yamux.Server(wsNetConn, nil)
110+
mux, err := yamux.Server(wsNetConn, ycfg)
111111
if err != nil {
112112
httpapi.Write(ctx, rw, http.StatusBadRequest, codersdk.Response{
113113
Message: "Failed to start yamux over websocket.",

0 commit comments

Comments
 (0)