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

Commit 54443f5

Browse files
author
Jacob Heun
authored
Merge pull request #4 from ipfs/chore/example-repo-lock
chore: update example to mitigate repo lock issue
2 parents 7b19c40 + 61e09ef commit 54443f5

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)