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