From f893a8146473bc53f5e718ee42637eb0e85890e9 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 22 Feb 2025 19:55:58 -0600 Subject: [PATCH] DittoAPIStore: add limit 0 --- packages/ditto/storages/DittoAPIStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 });