fix: fix timeout

This commit is contained in:
Steve Korshakov 2025-08-27 10:29:11 -07:00
parent 2a3bdb3452
commit bbea119fab

View File

@ -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,