mirror of
https://github.com/markqvist/LXMF.git
synced 2025-11-22 00:10:53 -05:00
Using multiprocessing start method fork on Linux to avoid issues with Python 3.14. Fixes #35.
This commit is contained in:
parent
dca6cc2adc
commit
00ffbc09fe
1 changed files with 2 additions and 0 deletions
|
|
@ -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""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue