Skip to content

Commit

Permalink
Merge pull request #3223 from cloudflare/felix/fix-connect-span
Browse files Browse the repository at this point in the history
Drop duplicate "connect" user tracing span
  • Loading branch information
fhanau authored Dec 9, 2024
2 parents 93a6037 + 226ff9c commit 79ff507
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 79ff507

Please sign in to comment.