pendingBlockKey returns a stable key for the blocks-pending index (tenant + blockID).
(tenantID, blockID string)
| 25 | |
| 26 | // pendingBlockKey returns a stable key for the blocks-pending index (tenant + blockID). |
| 27 | func pendingBlockKey(tenantID, blockID string) string { |
| 28 | return tenantID + "\x00" + blockID |
| 29 | } |
| 30 | |
| 31 | // Shard represents a single shard containing a subset of jobs |
| 32 | type Shard struct { |
no outgoing calls
no test coverage detected