mirror of
https://github.com/lukaszraczylo/graphql-monitoring-proxy.git
synced 2026-10-20 06:28:13 +00:00
fixup! fixup! Update go.mod and go.sum
This commit is contained in:
+3
-1
@@ -89,7 +89,9 @@ func (wsp *WebSocketProxy) HandleWebSocket(c *fiber.Ctx) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return websocket.New(func(clientConn *websocket.Conn) {
|
return websocket.New(func(clientConn *websocket.Conn) {
|
||||||
wsp.handleConnection(c.Context(), clientConn)
|
// Use background context for long-lived WebSocket connections
|
||||||
|
// The original request context expires after the upgrade
|
||||||
|
wsp.handleConnection(context.Background(), clientConn)
|
||||||
})(c)
|
})(c)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user