Using multiprocessing start method fork on Linux to avoid issues with Python 3.14. Fixes #35.

This commit is contained in:
Mark Qvist 2025-11-08 01:20:31 +01:00
parent dca6cc2adc
commit 00ffbc09fe

View file

@ -15,6 +15,8 @@ PN_VALIDATION_POOL_MIN_SIZE = 256
active_jobs = {} active_jobs = {}
if RNS.vendor.platformutils.is_linux(): multiprocessing.set_start_method("fork")
def stamp_workblock(material, expand_rounds=WORKBLOCK_EXPAND_ROUNDS): def stamp_workblock(material, expand_rounds=WORKBLOCK_EXPAND_ROUNDS):
wb_st = time.time() wb_st = time.time()
workblock = b"" workblock = b""