mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Add timeouts to all Nostr queries
This commit is contained in:
3 files changed
+7
-7
No files matched your search
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user