Merge pull request 'Remove deadtime optimisation in skippedInstances check' (#9183) from supakaity/calckey:supakaity/deliver-deadtime-removal into develop

Reviewed-on: https://codeberg.org/thatonecalculator/calckey/pulls/9183
This commit is contained in:
Cleo 2022-12-06 16:53:10 +00:00
commit a508edeaec

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()