Skip to content

Commit

Permalink
[accounts_db] Make internal constants private, remove a dead one (#3227)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksolana authored Oct 21, 2024
1 parent f768a8e commit bf81652
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,8 @@ const SCAN_SLOT_PAR_ITER_THRESHOLD: usize = 4000;

const UNREF_ACCOUNTS_BATCH_SIZE: usize = 10_000;

pub const DEFAULT_FILE_SIZE: u64 = 4 * 1024 * 1024;
pub const DEFAULT_NUM_THREADS: u32 = 8;
pub const DEFAULT_NUM_DIRS: u32 = 4;
const DEFAULT_FILE_SIZE: u64 = 4 * 1024 * 1024;
const DEFAULT_NUM_DIRS: u32 = 4;

// When calculating hashes, it is helpful to break the pubkeys found into bins based on the pubkey value.
// More bins means smaller vectors to sort, copy, etc.
Expand Down

0 comments on commit bf81652

Please sign in to comment.