Commit e82da406 authored by Tien Nguyen's avatar Tien Nguyen Committed by GitHub

op-service/txmgr: fix go doc (#9331)

parent 637ee207
......@@ -29,7 +29,7 @@ type Queue[T any] struct {
// NewQueue creates a new transaction sending Queue, with the following parameters:
// - ctx: runtime context of the queue. If canceled, all ongoing send processes are canceled.
// - txMgt: transaction managre to use for transaction sending
// - txMgr: transaction manager to use for transaction sending
// - maxPending: max number of pending txs at once (0 == no limit)
func NewQueue[T any](ctx context.Context, txMgr TxManager, maxPending uint64) *Queue[T] {
if maxPending > math.MaxInt {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment