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:
Mariano Sorgente 2022-01-24 00:52:10 -05:00 committed by GitHub
parent b2235699a7
commit 4708db1b2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -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
)

View File

@ -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