Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/publisher/message-queues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ export abstract class MessageQueue extends EventEmitter {

throw e;
} finally {
rpcSpan?.end();
messages.forEach(m => {
// We're finished with both the RPC and the whole publish operation,
// so close out all of the related spans.
rpcSpan?.end();
tracing.PubsubEvents.publishEnd(m);
m.parentSpan?.end();
});
Expand Down