Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/53AI/53AIHub
/ syncSingleflight
Struct
syncSingleflight
api/service/rag/query_embedding_cache.go:26–29 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
}
25
26
type
syncSingleflight
struct
{
27
mu sync.Mutex
28
m
map
[string]*singleflightCall
29
}
30
31
type
singleflightCall
struct
{
32
wg sync.WaitGroup
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected