fixes memory problem with many pubkeys in query
Some checks failed
Go / build (push) Has been cancelled
Go / release (push) Has been cancelled

This commit is contained in:
2025-10-20 22:20:21 +01:00
parent 465de549d0
commit 384b6113bc
10 changed files with 770 additions and 54 deletions

View File

@@ -308,7 +308,9 @@ export async function fetchAllEvents(options = {}) {
limit = 100,
since = null,
until = null,
authors = null
authors = null,
kinds = null,
tags = null
} = options;
const filters = {};
@@ -316,6 +318,8 @@ export async function fetchAllEvents(options = {}) {
if (since) filters.since = since;
if (until) filters.until = until;
if (authors) filters.authors = authors;
if (kinds) filters.kinds = kinds;
if (tags) filters.tags = tags;
// Don't specify kinds filter - this will include all events including delete events (kind 5)