Skip to content

Commit

Permalink
增加手动清除
Browse files Browse the repository at this point in the history
  • Loading branch information
steden committed Dec 10, 2024
1 parent abef071 commit 3d01cf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pullMessage.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func (receiver *subscriber) pullMessage() {
err = flog.Error(exp)
<-time.After(time.Second)
})
curQueue.Clear()
container.Resolve[trace.IManager]().Push(traceContext, err)

Check failure on line 58 in pullMessage.go

View workflow job for this annotation

GitHub Actions / build

container.Resolve[trace.IManager]().Push undefined (type trace.IManager has no field or method Push)
asyncLocal.Release()

Expand Down

0 comments on commit 3d01cf2

Please sign in to comment.