MCPcopy Create free account
hub / github.com/CovenantSQL/CovenantSQL / enqueueRead

Method enqueueRead

xenomint/pool.go:78–81  ·  view source on GitHub ↗
(q *QueryTracker)

Source from the content-addressed store, hash-verified

76}
77
78func (p *pool) enqueueRead(q *QueryTracker) {
79 // NOTE(leventeliu): this overwrites any request with a same hash
80 p.reads[q.Req.Header.Hash()] = q
81}
82
83func (p *pool) setFailed(req *types.Request) {
84 p.failed[req.Header.Hash()] = req

Callers 2

readWithContextMethod · 0.80
readTxMethod · 0.80

Calls 1

HashMethod · 0.65

Tested by

no test coverage detected