Skip to content

Commit

Permalink
chore: Clean up log message
Browse files Browse the repository at this point in the history
  • Loading branch information
stbrody committed Jul 29, 2024
1 parent 1b1dc49 commit 3eab5d0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/core/src/store/anchor-request-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,13 @@ export class AnchorRequestStore extends ObjectStore<StreamID, AnchorRequestData>
resolve(null)
}, this.#infiniteListBatchTimeoutMs)
})
this.#logger.verbose(`Fetching batch from AnchorRequestStore starting at key ${gt}`)
if (gt) {
this.#logger.verbose(`Fetching batch from AnchorRequestStore starting at key ${gt}`)
} else {
this.#logger.verbose(
`Fetching batch from AnchorRequestStore starting at the beginning of the keys`
)
}
const batchPromise = this.store.find({
limit: batchSize,
gt: generateKey(gt),
Expand Down

0 comments on commit 3eab5d0

Please sign in to comment.