Skip to content

Commit 09ec84e

Browse files
authored
Increasing size limit for transactions (#342)
1 parent eb77382 commit 09ec84e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_transaction.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_transaction_commit(db, col, docs):
9797
sync=True,
9898
allow_implicit=False,
9999
lock_timeout=1000,
100-
max_size=10000,
100+
max_size=1024 * 1024, # 1MB
101101
)
102102
txn_col = txn_db.collection(col.name)
103103

@@ -126,7 +126,7 @@ def test_transaction_fetch_existing(db, col, docs):
126126
sync=True,
127127
allow_implicit=False,
128128
lock_timeout=1000,
129-
max_size=10000,
129+
max_size=1024 * 1024, # 1MB
130130
)
131131
txn_col = original_txn.collection(col.name)
132132

0 commit comments

Comments
 (0)