diff --git a/packages/backend/src/misc/skipped-instances.ts b/packages/backend/src/misc/skipped-instances.ts index 785393022..79cc96ac9 100644 --- a/packages/backend/src/misc/skipped-instances.ts +++ b/packages/backend/src/misc/skipped-instances.ts @@ -39,7 +39,8 @@ export async function skippedInstances( }) .andWhere( new Brackets((qb) => { - qb.where("instance.isSuspended"); + qb.where("instance.isSuspended") + .orWhere("instance.lastCommunicatedAt < :deadTime", { deadTime }); }), ) .select("host")