mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
DittoAPIStore: add limit 0
This commit is contained in:
parent
70f0eb3b03
commit
f893a81464
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ export class DittoAPIStore implements NRelay {
|
||||||
const { relay } = this.opts;
|
const { relay } = this.opts;
|
||||||
const { signal } = this.controller;
|
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') {
|
if (msg[0] === 'EVENT') {
|
||||||
const [, , event] = msg;
|
const [, , event] = msg;
|
||||||
await this.handleEvent(event, { signal });
|
await this.handleEvent(event, { signal });
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue