mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Increase notifications endpoint timeout
This commit is contained in:
parent
4e150edb5b
commit
3ae6d39ebc
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ async function renderNotifications(
|
||||||
const store = c.get('store');
|
const store = c.get('store');
|
||||||
const pubkey = await c.get('signer')?.getPublicKey()!;
|
const pubkey = await c.get('signer')?.getPublicKey()!;
|
||||||
const { signal } = c.req.raw;
|
const { signal } = c.req.raw;
|
||||||
const opts = { signal, limit: params.limit };
|
const opts = { signal, limit: params.limit, timeout: 5000 };
|
||||||
|
|
||||||
const events = await store
|
const events = await store
|
||||||
.query(filters, opts)
|
.query(filters, opts)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue