MCPcopy Create free account
hub / github.com/devfeel/dottask / putTaskContext

Method putTaskContext

taskinfo.go:105–108  ·  view source on GitHub ↗
(ctx *TaskContext)

Source from the content-addressed store, hash-verified

103}
104
105func (task *TaskInfo) putTaskContext(ctx *TaskContext) {
106 ctx.reset()
107 task.taskService.contextPool.Put(ctx)
108}
109
110func (task *TaskInfo) initCounters() {
111 counterInfo := new(CounterInfo)

Callers 3

doLoopTaskFunction · 0.80
startQueueTaskFunction · 0.80
doCronTaskFunction · 0.80

Calls 1

resetMethod · 0.80

Tested by

no test coverage detected