From 386ef752596b8bd17436643ff15d2ce74c4bdb80 Mon Sep 17 00:00:00 2001 From: Vladislav Alekseev Date: Wed, 1 Dec 2021 01:59:56 +0300 Subject: [PATCH] Worker sharing: scan all hosts --- Sources/EmceeLib/Commands/StartQueueServerCommand.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/EmceeLib/Commands/StartQueueServerCommand.swift b/Sources/EmceeLib/Commands/StartQueueServerCommand.swift index 63c38882..b401260d 100644 --- a/Sources/EmceeLib/Commands/StartQueueServerCommand.swift +++ b/Sources/EmceeLib/Commands/StartQueueServerCommand.swift @@ -97,7 +97,7 @@ public final class StartQueueServerCommand: Command { let queueServerPortProvider = SourcableQueueServerPortProvider() let remotePortDeterminer = RemoteQueuePortScanner( - hosts: [currentHostName], + hosts: queueServerConfiguration.queueServerDeploymentDestinations.map(\.host), logger: logger, portRange: EmceePorts.defaultQueuePortRange, requestSenderProvider: try di.get()