Skip to content

Commit

Permalink
Add more variation to free-space transaction size testing and update …
Browse files Browse the repository at this point in the history
…version
  • Loading branch information
kriszyp committed Nov 14, 2024
1 parent 186e811 commit 6453928
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lmdb",
"author": "Kris Zyp",
"version": "3.1.5",
"version": "3.1.6",
"description": "Simple, efficient, scalable, high-performance LMDB interface",
"license": "MIT",
"repository": {
Expand Down
3 changes: 1 addition & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,7 @@ describe('lmdb-js', function () {
while (random() < 0.95) text += additive;
if (random() < 0.4) promise = db.remove(i % 40);
else promise = db.put(i % 40, text);

if (i % 2 == 0) {
if (random() < 0.05) {
await promise;
}
}
Expand Down

0 comments on commit 6453928

Please sign in to comment.