mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-21 16:33:48 +01: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
@ -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 New Issue
Block a user