perf(og): increase relay request timeouts (7s article, 5s profile) to improve reliability

This commit is contained in:
Gigi
2025-11-07 17:15:48 +01:00
parent be7b6c2cfb
commit c0cfd41e76

View File

@@ -104,11 +104,11 @@ async function fetchArticleMetadata(naddr: string): Promise<ArticleMetadata | nu
kinds: [pointer.kind],
authors: [pointer.pubkey],
'#d': [pointer.identifier || '']
}, 5000),
}, 7000),
fetchEventsFromRelays(relayPool, relayUrls, {
kinds: [0],
authors: [pointer.pubkey]
}, 3000)
}, 5000)
])
if (articleEvents.length === 0) {