From 6b221e4d137d0fed9bba15f3f56b7522fbc16a3b Mon Sep 17 00:00:00 2001 From: Gigi Date: Sun, 2 Nov 2025 21:43:00 +0100 Subject: [PATCH] perf: increase remote relay timeout for profile fetches Increase timeout from 6s to 10s to give slow relays (including purplepag.es) more time to respond with profile metadata. This may help find profiles that were timing out before. --- src/services/profileService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/profileService.ts b/src/services/profileService.ts index 9d3ce5e7..3561c3c7 100644 --- a/src/services/profileService.ts +++ b/src/services/profileService.ts @@ -282,7 +282,7 @@ export const fetchProfiles = async ( onlyEvents(), tap((event: NostrEvent) => processEvent(event)), completeOnEose(), - takeUntil(timer(6000)) + takeUntil(timer(10000)) // Increased from 6000ms to 10000ms to give slow relays more time ) : new Observable((sub) => sub.complete())