server: avoid adding suspended instances to deliver queue #215
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor/deliver-manager"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This should reduce the performance hit when adding large numbers of instances to the deliver queue by making the check for suspended and dead instances a bulk operation.
Changelog: Changed
e1dea45911
tof0c21caef3
f0c21caef3
to7ac30ecfbf
@ -0,0 +31,4 @@
// also avoids adding duplicates to the list
hosts: hosts.filter(host => !skipped.includes(host)),
})
.andWhere(new Brackets(qb => { qb
Nitpick: the second qb probably could be on the next line
Just copied that style from elsewhere in the codebase so the following lines line up.