Skip to content

Commit

Permalink
cache on load
Browse files Browse the repository at this point in the history
  • Loading branch information
jchris committed Jun 13, 2024
1 parent 5219f52 commit 10b64f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/encrypted-blockstore/src/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export class Loader implements Loadable {
)
: await encodeCarFile([cidRootBlock.cid], clonedt)
carFiles.push(carFile)
// console.log("split to ", carFiles.length, "files")
console.log("split to ", carFiles.length, "files")
return carFiles
}

Expand Down
4 changes: 2 additions & 2 deletions packages/fireproof/test/www/todo.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
input.value = dbName
} else {
dbName = name
db = fireproof(name, { autoCompact: 100 })
cx = connect.partykit(db)
db = fireproof(name, { autoCompact: 100, threshold: 50000 })
cx = connect.partykitRest(db)
cx.ready.then(async () => {
const span = document.querySelector('#cxInfo')
span.innerText = `📡 ${cx.party.id}`
Expand Down

0 comments on commit 10b64f8

Please sign in to comment.