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

pull/38/head 0.9.2
Mark Qvist 2025-11-08 01:20:31 +01:00
parent dca6cc2adc
commit 00ffbc09fe
1 changed files with 2 additions and 0 deletions

View File

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