fix: fix timeout
This commit is contained in:
parent
2a3bdb3452
commit
bbea119fab
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user