mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
Don't send activities to dead instances
Co-authored-by: Johann150 <johann.galle@protonmail.com>
This commit is contained in:
parent
565c2efbe5
commit
0d28b07203
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue