test api route timeout
This commit is contained in:
parent
4ee105b46a
commit
09568ef684
@ -49,5 +49,7 @@ export default async function ddd(req: BlitzApiRequest, res: BlitzApiResponse) {
|
|||||||
console.log("messagesReceived", messagesReceived.sort((a, b) => a.dateCreated.getTime() - b.dateCreated.getTime()));
|
console.log("messagesReceived", messagesReceived.sort((a, b) => a.dateCreated.getTime() - b.dateCreated.getTime()));
|
||||||
// console.log("messagesReceived", messagesReceived);*/
|
// console.log("messagesReceived", messagesReceived);*/
|
||||||
|
|
||||||
res.status(200).end();
|
setTimeout(() => {
|
||||||
|
res.status(200).end();
|
||||||
|
}, 1000 * 60 * 5);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user