MCPcopy Create free account
hub / github.com/clrxbl/blockgametracker / Producer

Struct Producer

internal/queue/loop.go:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11)
12
13type Producer struct {
14 Source string
15 Interval time.Duration
16 DrainPerTick int
17 Store *config.Store
18 Client *Client
19 Spool *Spool
20}
21
22// Run blocks until ctx is cancelled. Each tick pings all enabled servers,
23// pushes the batch, and (on success) drains up to DrainPerTick spooled

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected