mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-23 22:56:08 +09: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