MCPcopy
hub / github.com/fish2018/pansou / releaseWorkerSlot

Function releaseWorkerSlot

plugin/plugin.go:356–359  ·  view source on GitHub ↗

releaseWorkerSlot 释放工作槽

()

Source from the content-addressed store, hash-verified

354
355// releaseWorkerSlot 释放工作槽
356func releaseWorkerSlot() {
357 <-backgroundWorkerPool
358 atomic.AddInt32(&backgroundTasksCount, -1)
359}
360
361// recordCacheHit 记录缓存命中 (内部使用)
362func recordCacheHit() {

Callers 3

AsyncSearchMethod · 0.85
AsyncSearchWithResultMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected