Remove deadtime optimisation in skippedInstances check

This commit is contained in:
Kaity A 2022-12-06 13:53:39 +00:00
parent 35bfa89b27
commit a2f17e076a
1 changed files with 0 additions and 1 deletions

View File

@ -33,7 +33,6 @@ export async function skippedInstances(hosts: Array<Instace['host']>): Array<Ins
}) })
.andWhere(new Brackets(qb => { qb .andWhere(new Brackets(qb => { qb
.where('instance.isSuspended') .where('instance.isSuspended')
.orWhere('instance.lastCommunicatedAt < :deadTime', { deadTime });
})) }))
.select('host') .select('host')
.getRawMany() .getRawMany()