Bump signal to 5s

This commit is contained in:
Alex Gleason 2025-03-08 19:44:16 -06:00
parent 3cac9b6e26
commit a400021a0d
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -217,7 +217,7 @@ export class DittoRelayStore implements NRelay {
await relay.event(purifyEvent(event), { signal }); await relay.event(purifyEvent(event), { signal });
} finally { } finally {
// This needs to run in steps, and should not block the API from responding. // This needs to run in steps, and should not block the API from responding.
const signal = AbortSignal.timeout(3000); const signal = AbortSignal.timeout(5000);
Promise.allSettled([ Promise.allSettled([
this.handleZaps(event), this.handleZaps(event),
this.updateAuthorData(event, signal), this.updateAuthorData(event, signal),