Skip to content

Commit

Permalink
Issue #131: a thread doesn't have a PID (fix)
Browse files Browse the repository at this point in the history
This code was legacy from the old multiprocess impl. Now that we use
threads the PID makes no sense.
  • Loading branch information
eldipa committed Mar 11, 2021
1 parent e7fe2d6 commit 68c60de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion byexample/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def spawn_jobs(self, func, items, cfg):

if clog().isEnabledFor(CHAT):
for p in self.processes:
clog().chat("Worker %s (PID %i).", p.name, p.pid)
clog().chat("Worker %s.", p.name)

return items[njobs:]

Expand Down

0 comments on commit 68c60de

Please sign in to comment.