1
0
Fork 0

lint(api): only log new worker message if some workers need to be restarted

This commit is contained in:
Sean Sube 2023-03-11 13:30:54 -06:00
parent 9c65922526
commit 9555a7a3ea
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 1 deletions

View File

@ -351,6 +351,7 @@ class DevicePoolExecutor:
device,
)
if len(needs_restart) > 0:
logger.debug("starting new workers")
for device in self.devices: