From 1f6f139ca1f7b183305e9ccb5830cb019e9296bf Mon Sep 17 00:00:00 2001 From: Kaity A Date: Tue, 6 Dec 2022 13:53:39 +0000 Subject: [PATCH] Remove deadtime optimisation in skippedInstances check --- packages/backend/src/misc/skipped-instances.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/backend/src/misc/skipped-instances.ts b/packages/backend/src/misc/skipped-instances.ts index 36367b2e5..a89ca2e3f 100644 --- a/packages/backend/src/misc/skipped-instances.ts +++ b/packages/backend/src/misc/skipped-instances.ts @@ -33,7 +33,6 @@ export async function skippedInstances(hosts: Array): Array { qb .where('instance.isSuspended') - .orWhere('instance.lastCommunicatedAt < :deadTime', { deadTime }); })) .select('host') .getRawMany()