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)
| 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. |
| 723 | func (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. |
no test coverage detected