1
0
Fork 0

add job count to healthy worker logs

This commit is contained in:
Sean Sube 2023-03-26 11:53:06 -05:00
parent 8eab92a7df
commit ea36082e43
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 1 deletions

View File

@ -322,9 +322,10 @@ class DevicePoolExecutor:
needs_restart.append(device) needs_restart.append(device)
else: else:
logger.debug( logger.debug(
"worker %s for device %s does not need to be recycled", "worker %s for device %s has run %s jobs and is still alive",
worker.pid, worker.pid,
device, device,
jobs,
) )
if len(needs_restart) > 0: if len(needs_restart) > 0: