From 1b410028fcc7efcb3c3d82ac7cc555f09812befc Mon Sep 17 00:00:00 2001 From: Seyeong Kim Date: Mon, 20 Jun 2022 13:10:56 +0900 Subject: [PATCH] Increasing defaultMaxTxnQueueLength to 100000 If txn is over 1000, mgopurge stop. As there is no option to configure this, It would be better if defaultMaxTxnQueueLength much over 1000 --- txn/txn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/txn/txn.go b/txn/txn.go index f1eea117..e57f8c7a 100644 --- a/txn/txn.go +++ b/txn/txn.go @@ -221,7 +221,7 @@ type Runner struct { opts RunnerOptions // runtime options } -const defaultMaxTxnQueueLength = 1000 +const defaultMaxTxnQueueLength = 100000 const defaultAssertionCleanupLength = 10 // NewRunner returns a new transaction runner that uses tc to hold its