Skip to content

Commit

Permalink
Merge branch 'main' into server
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn committed Oct 30, 2024
2 parents b3b749b + 4a7bf54 commit 3d8bd40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/datastore/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export class DataStore extends TypedEmitter {
const deferred = pDefer()
this.#pendingIndex.set(versionId, deferred)
await deferred.promise
this.#pendingIndex.delete(versionId)

return /** @type {Extract<MapeoDoc, TDoc>} */ (
decode(block, { coreDiscoveryKey, index })
Expand Down

0 comments on commit 3d8bd40

Please sign in to comment.