Add timeouts to all Nostr queries

This commit is contained in:
Alex Gleason committed 2025-11-05 11:14:04 -06:00
1 parent 05f19f05c4
commit 886131319c
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ export function useAppSubmissions() {
authors: [addrData.pubkey],
'#d': [addrData.identifier],
limit: 1
}]);
}], { signal: AbortSignal.timeout(3000) });
if (teamEvents.length > 0) {
const teamEvent = teamEvents[0];