Increase notifications endpoint timeout

This commit is contained in:
Alex Gleason
2024-07-01 20:29:06 +01:00
parent 4e150edb5b
commit 3ae6d39ebc

View File

@@ -78,7 +78,7 @@ async function renderNotifications(
const store = c.get('store');
const pubkey = await c.get('signer')?.getPublicKey()!;
const { signal } = c.req.raw;
const opts = { signal, limit: params.limit };
const opts = { signal, limit: params.limit, timeout: 5000 };
const events = await store
.query(filters, opts)