mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-11-11 01:28:17 +03:00
Set reserved cores to 0 (#9790)
* Set reserved cores to 0 * Change reserved cores to 0. * Remove wallet config since it's unused
This commit is contained in:
parent
b2235699a7
commit
4708db1b2c
@ -183,7 +183,7 @@ class FullNode:
|
||||
self.coin_store = await CoinStore.create(self.db_wrapper)
|
||||
self.log.info("Initializing blockchain from disk")
|
||||
start_time = time.time()
|
||||
reserved_cores = self.config.get("reserved_cores", 2)
|
||||
reserved_cores = self.config.get("reserved_cores", 0)
|
||||
self.blockchain = await Blockchain.create(
|
||||
self.coin_store, self.block_store, self.constants, self.hint_store, self.db_path.parent, reserved_cores
|
||||
)
|
||||
|
@ -342,7 +342,7 @@ full_node:
|
||||
|
||||
# When creating process pools the process count will generally be the CPU count minus
|
||||
# this reserved core count.
|
||||
reserved_cores: 2
|
||||
reserved_cores: 0
|
||||
|
||||
# How often to initiate outbound connections to other full nodes.
|
||||
peer_connect_interval: 30
|
||||
@ -475,10 +475,6 @@ wallet:
|
||||
wallet_peers_path: wallet/db/wallet_peers.sqlite
|
||||
wallet_peers_file_path: wallet/db/wallet_peers.dat
|
||||
|
||||
# When creating process pools the process count will generally be the CPU count minus
|
||||
# this reserved core count.
|
||||
reserved_cores: 2
|
||||
|
||||
logging: *logging
|
||||
network_overrides: *network_overrides
|
||||
selected_network: *selected_network
|
||||
|
Loading…
Reference in New Issue
Block a user