appmetrics icon indicating copy to clipboard operation
appmetrics copied to clipboard

Don't attempt to install probe for socket.io v3 or v4

Open frostmar opened this issue 4 years ago • 0 comments
trafficstars

A quick workaround for issue https://github.com/RuntimeTools/appmetrics/issues/649 I'm afraid this isn't a proper fix, and only avoids installing the socket.io probe for newer versions where that doesn't currently work.

The socket.io probe only patches in successfully with socket.io v1 and v2 If a .Server class is on the socket.io export, this is probably v3+, so don't attempt to patch.

frostmar avatar Mar 26 '21 12:03 frostmar