mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-14 11:04:18 +01:00
Increase notifications endpoint timeout
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user