Skip to content

Commit

Permalink
调整:asyncLocal自动释放功能
Browse files Browse the repository at this point in the history
  • Loading branch information
steden committed Jul 15, 2024
1 parent 0795c1c commit 2c50e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invokeJob.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func invokeJob(task TaskEO) {
}

func (receiver *Job) Run() {
asyncLocal.GC()
asyncLocal.Release()
// 链路追踪
entryFSchedule := receiver.traceManager.EntryFSchedule(receiver.jobContext.Name, receiver.jobContext.Id, receiver.jobContext.Data.ToMap())
defer func() {
Expand Down

0 comments on commit 2c50e8c

Please sign in to comment.