MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / geTask

Method geTask

queue.go:226–235  ·  view source on GitHub ↗

geTask generates a task for a transaction and assigns it to a specific queue based on the balance ID. It ensures that transactions are evenly distributed across multiple queues by hashing the balance ID. This approach helps to avoid race conditions on a balance by ensuring that all transactions rela

(transaction *model.Transaction, payload []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

EnqueueMethod · 0.95

Calls 1

transactionQueueNameMethod · 0.95

Tested by

no test coverage detected