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

View file

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