mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-06 10:04:59 -05:00
leave at least one full core open during chain sync
This commit is contained in:
@@ -101,7 +101,7 @@ class Blockchain:
|
||||
if cpu_count > 61:
|
||||
cpu_count = 61 # Windows Server 2016 has an issue https://bugs.python.org/issue26903
|
||||
self.pool = concurrent.futures.ProcessPoolExecutor(
|
||||
max_workers=max(cpu_count - 1, 1)
|
||||
max_workers=max(cpu_count - 2, 1)
|
||||
)
|
||||
self.constants = consensus_constants
|
||||
self.tips = []
|
||||
|
||||
Reference in New Issue
Block a user