MCPcopy Create free account
hub / github.com/blobcache/blobcache / Queue

Struct Queue

src/internal/backend/memory/queue.go:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18var _ backend.QueueSystem[blobcache.QueueBackend_Memory, *Queue] = &System{}
19
20type Queue struct {
21 mu sync.Mutex
22 cond *sync.Cond
23 msgs []blobcache.Message
24 maxDepth uint32
25 evictOldest bool
26}
27
28func (q *Queue) Config() blobcache.QueueConfig {
29 return blobcache.QueueConfig{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected