Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sitalkedia committed Feb 23, 2024
1 parent 11bb07f commit 3594804
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions aptos-node/src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// Copyright © Aptos Foundation
// SPDX-License-Identifier: Apache-2.0

use std::cmp::min;
use anyhow::anyhow;
use aptos_config::config::{DEFAULT_CONCURRENCY_LEVEL, NodeConfig};
use aptos_config::config::{NodeConfig, DEFAULT_CONCURRENCY_LEVEL};
use aptos_storage_interface::{state_view::LatestDbStateCheckpointView, DbReaderWriter};
use aptos_types::{
account_config::CORE_CODE_ADDRESS, account_view::AccountView, chain_id::ChainId,
state_store::account_with_state_view::AsAccountWithStateView,
};
use aptos_vm::AptosVM;
use std::cmp::min;

/// Error message to display when non-production features are enabled
pub const ERROR_MSG_BAD_FEATURE_FLAGS: &str = r#"
Expand Down
3 changes: 2 additions & 1 deletion config/src/config/execution_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ pub struct ExecutionConfig {
pub genesis: Option<Transaction>,
/// Location of the genesis file
pub genesis_file_location: PathBuf,
/// Number of threads to run execution
/// Number of threads to run execution.
/// If 0, we use min of (num of cores/2, DEFAULT_CONCURRENCY_LEVEL) as default concurrency level
pub concurrency_level: u16,
/// Number of threads to read proofs
pub num_proof_reading_threads: u16,
Expand Down

0 comments on commit 3594804

Please sign in to comment.