Skip to content

Commit

Permalink
Clean and refine args defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
tiram88 committed Apr 20, 2023
1 parent 36abd6c commit dca1604
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions kaspad/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ pub struct Defaults {
pub rpclisten_json: &'static str,
pub unsafe_rpc: bool,
pub async_threads: usize,
pub wrpc_serializer_tasks: usize,
pub utxoindex: bool,
pub reset_db: bool,
pub outbound_target: usize,
Expand All @@ -26,8 +25,7 @@ impl Default for Defaults {
rpclisten_borsh: "127.0.0.1:17110",
rpclisten_json: "127.0.0.1:18110",
unsafe_rpc: false,
async_threads: num_cpus::get() / 2,
wrpc_serializer_tasks: num_cpus::get() / 2,
async_threads: num_cpus::get(),
utxoindex: false,
reset_db: false,
outbound_target: 8,
Expand Down

0 comments on commit dca1604

Please sign in to comment.