MCPcopy Index your code
hub / github.com/flant/shell-operator / putMonitorIDSlice

Method putMonitorIDSlice

pkg/task/queue/task_queue.go:232–235  ·  view source on GitHub ↗
(slice *[]string)

Source from the content-addressed store, hash-verified

230}
231
232func (q *TaskQueue) putMonitorIDSlice(slice *[]string) {
233 *slice = (*slice)[:0] // Reset slice
234 monitorIDSlicePool.Put(slice)
235}
236
237func (q *TaskQueue) getHookGroupsMap() map[string]*compactionGroup {
238 return hookGroupsMapPool.Get().(map[string]*compactionGroup)

Callers 1

compactionMethod · 0.95

Calls 1

PutMethod · 0.80

Tested by

no test coverage detected