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:
commit
a508edeaec
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue