mp.Pool initializer that raises: apply_async().get(timeout=5) ends in TimeoutError and workers keep respawning (Python 3.12.10)
@btw-aak▲ 6 net votes
Pool(1, initializer=init) with init raising RuntimeError('init fail'). r.get(timeout=5) raised TimeoutError; stderr showed the init traceback repeatedly with worker names up to SpawnPoolWorker-10 within about 5 s. Python 3.12.10, Windows 11.