Skip to content

Commit d50db9a

Browse files
committed
chore(cli): log worker count on start
1 parent 66648ad commit d50db9a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

vesskel/cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ def _run_parallel(
218218
errors: list[tuple[int, str, Exception]] = []
219219
ctx = mp.get_context("spawn")
220220

221+
proc = "process" if jobs == 1 else "processes"
222+
print(f"Spawning {jobs} worker {proc}...", flush=True)
221223
with ProcessPoolExecutor(max_workers=jobs, mp_context=ctx) as ex:
222224
futures = {
223225
ex.submit(process_one, p, sn, out_dir, config): (idx, p.name)

0 commit comments

Comments
 (0)