mirror of
https://github.com/markqvist/LXMF
synced 2026-11-22 23:10:36 +00:00
Using multiprocessing start method fork on Linux to avoid issues with Python 3.14. Fixes #35.
This commit is contained in:
1 parent
dca6cc2adc
commit
00ffbc09fe
1 file changed
+2
@@ -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""
|
||||
|
||||
Reference in new issue
Block a user