Skip to content

Commit c2e859b

Browse files
committed
Remove the socket count from shared queue consumer cause it can take up to 5s to complete
1 parent 6da5e7a commit c2e859b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

apps/webapp/app/v3/marqs/sharedQueueConsumer.server.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,15 +1122,6 @@ export class SharedQueueConsumer {
11221122
"emitResumeAfterDependencyWithAck",
11231123
async (span) => {
11241124
try {
1125-
const sockets = await this.#startActiveSpan("getCoordinatorSockets", async (span) => {
1126-
const sockets = await socketIo.coordinatorNamespace.fetchSockets();
1127-
1128-
span.setAttribute("socket_count", sockets.length);
1129-
1130-
return sockets;
1131-
});
1132-
1133-
span.setAttribute("socket_count", sockets.length);
11341125
span.setAttribute("attempt_id", resumableAttempt.id);
11351126
span.setAttribute(
11361127
"timeout_in_ms",

0 commit comments

Comments
 (0)