mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-26 16:54:20 +01:00
perf: make up to 5 calls to database in hydrateEvents & remove old hydrate functions
This commit is contained in:
@@ -51,7 +51,6 @@ async function renderStatuses(c: AppContext, filters: NostrFilter[]) {
|
||||
.then((events) =>
|
||||
hydrateEvents({
|
||||
events,
|
||||
relations: ['author', 'author_stats', 'event_stats', 'repost', 'quote_repost'],
|
||||
storage: eventsDB,
|
||||
signal,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user