Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit 61e09ef

Browse files
committed
chore: update example to mitigate repo lock issue
License: MIT Signed-off-by: Jacob Heun <[email protected]>
1 parent 7b19c40 commit 61e09ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/full-s3-repo/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ const repo = new Repo('/tmp/test/.ipfs', {
2727
blocks: { s3 },
2828
keys: { s3 },
2929
datastore: { s3 }
30-
}
30+
},
31+
lock: 'memory'
3132
})
3233

3334
let node = new IPFS({

0 commit comments

Comments
 (0)