MCPcopy Index your code
hub / github.com/devaccuracy/ledgerforge / processQueuedTransaction

Method processQueuedTransaction

transaction.go:723–725  ·  view source on GitHub ↗

processQueuedTransaction routes queued work through the shared executor so the planner can choose between normal queued batching, hot-lane batching, and single-transaction fallback.

(ctx context.Context, transaction *model.Transaction, hotLane bool)

Source from the content-addressed store, hash-verified

721// processQueuedTransaction routes queued work through the shared executor so the planner can
722// choose between normal queued batching, hot-lane batching, and single-transaction fallback.
723func (l *LedgerForge) processQueuedTransaction(ctx context.Context, transaction *model.Transaction, hotLane bool) (transactionExecutionResult, error) {
724 return l.executeTransactionPlan(ctx, l.planTransactionExecution(transaction, true, hotLane))
725}
726
727// RefundWorker processes refund transactions from the jobs channel and sends the results to the results channel.
728// It starts a tracing span, processes each transaction, and records relevant events and errors.

Callers 2

Calls 2

Tested by

no test coverage detected