mixer: don't use the client pool for local filters

This commit is contained in:
Alex Gleason 2023-08-19 12:38:20 -05:00
parent 05a7a773fe
commit fecd69bf8f
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ async function getFilters<K extends number>(
opts?: GetFiltersOpts,
): Promise<Event<K>[]> {
const results = await Promise.allSettled([
client.getFilters(filters, opts),
client.getFilters(filters.filter((filter) => !filter.local), opts),
eventsDB.getFilters(filters, opts),
]);