Skip to content

Commit 4ce0e86

Browse files
committed
Merge branch 'handle_local_event_queue' into message_sim_card
* handle_local_event_queue: add missing span.End()
2 parents feee539 + 36dc244 commit 4ce0e86

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

api/pkg/services/in_memory_push_queue.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ func NewInMemoryPushQueue(
3636
// Enqueue a task to the queue
3737
func (queue *inMemoryPushQueue) Enqueue(ctx context.Context, task *PushQueueTask, timeout time.Duration) (queueID string, err error) {
3838
ctx, span := queue.tracer.Start(ctx)
39+
defer span.End()
40+
3941
ctxLogger := queue.tracer.CtxLogger(queue.logger, span)
4042
queueID = uuid.New().String()
4143

0 commit comments

Comments
 (0)