2 parents feee539 + 36dc244 commit 4ce0e86Copy full SHA for 4ce0e86
1 file changed
api/pkg/services/in_memory_push_queue.go
@@ -36,6 +36,8 @@ func NewInMemoryPushQueue(
36
// Enqueue a task to the queue
37
func (queue *inMemoryPushQueue) Enqueue(ctx context.Context, task *PushQueueTask, timeout time.Duration) (queueID string, err error) {
38
ctx, span := queue.tracer.Start(ctx)
39
+ defer span.End()
40
+
41
ctxLogger := queue.tracer.CtxLogger(queue.logger, span)
42
queueID = uuid.New().String()
43
0 commit comments