add job count to healthy worker logs
This commit is contained in:
parent
8eab92a7df
commit
ea36082e43
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue