From a2f17e076a4f0b8f9220902d7a9eaeae053876da 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 36367b2e56..a89ca2e3fb 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()