Skip to content

Commit

Permalink
Drop duplicate "connect" user tracing span
Browse files Browse the repository at this point in the history
This is already covered through the getClient() call below.
  • Loading branch information
fhanau committed Dec 9, 2024
1 parent 93a6037 commit 226ff9c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/workerd/api/sockets.c++
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ jsg::Ref<Socket> connectImplNoOutputLock(jsg::Lock& js,

auto& ioContext = IoContext::current();
JSG_REQUIRE(!ioContext.isFiddle(), TypeError, "Socket API not supported in web preview mode.");
auto userSpan = ioContext.makeUserTraceSpan("connect"_kjc);

// Extract the domain/ip we are connecting to from the address.
kj::String domain;
Expand Down

0 comments on commit 226ff9c

Please sign in to comment.