mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-07 15:44:22 +01:00
perf: make up to 5 calls to database in hydrateEvents & remove old hydrate functions
This commit is contained in:
@@ -68,7 +68,6 @@ const streamingController: AppController = (c) => {
|
||||
if (event.kind === 6) {
|
||||
await hydrateEvents({
|
||||
events: [event],
|
||||
relations: ['repost', 'author'],
|
||||
storage: eventsDB,
|
||||
signal: AbortSignal.timeout(1000),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user