Skip to content

Commit ec36459

Browse files
committed
fix: update condition for node activation check in StartNodeQueueProcessor
1 parent 8e31460 commit ec36459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/queue/start-node/start-node.processor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class StartNodeQueueProcessor extends WorkerHost {
4949
return;
5050
}
5151

52-
if (!nodeEntity.activeConfigProfileUuid || !nodeEntity.activeInbounds) {
52+
if (nodeEntity.activeInbounds.length === 0 || !nodeEntity.activeConfigProfileUuid) {
5353
this.logger.warn(
5454
`Node ${nodeUuid} has no active config profile or inbounds, disabling and clearing profile from node...`,
5555
);

0 commit comments

Comments
 (0)