From bbea119fabc206062f4d0d5b0802746ea05e446f Mon Sep 17 00:00:00 2001 From: Steve Korshakov Date: Wed, 27 Aug 2025 10:29:11 -0700 Subject: [PATCH] fix: fix timeout --- sources/app/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/app/api.ts b/sources/app/api.ts index cf08a7a..c4eb4e8 100644 --- a/sources/app/api.ts +++ b/sources/app/api.ts @@ -895,7 +895,7 @@ export async function startApi(): Promise<{ app: FastifyInstance; io: Server }> where: { accountId: userId, active: true, - lastActiveAt: { gt: new Date(Date.now() - 1000 * 60 * 5) /* 5 minutes */ } + lastActiveAt: { gt: new Date(Date.now() - 1000 * 60 * 15) /* 15 minutes */ } }, orderBy: { lastActiveAt: 'desc' }, take: limit,