diff --git a/packages/ditto/storages/DittoAPIStore.ts b/packages/ditto/storages/DittoAPIStore.ts index 2df28da5..ad7c6028 100644 --- a/packages/ditto/storages/DittoAPIStore.ts +++ b/packages/ditto/storages/DittoAPIStore.ts @@ -122,7 +122,7 @@ export class DittoAPIStore implements NRelay { const { relay } = this.opts; const { signal } = this.controller; - for await (const msg of relay.req([{}], { signal })) { + for await (const msg of relay.req([{ limit: 0 }], { signal })) { if (msg[0] === 'EVENT') { const [, , event] = msg; await this.handleEvent(event, { signal });