Skip to content

Commit

Permalink
chore: log header_map memory_limit
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangsoledad committed May 18, 2022
1 parent d4a73c1 commit 76be468
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sync/src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1144,6 +1144,10 @@ impl SyncShared {
)
};
let shared_best_header = RwLock::new(HeaderView::new(header, total_difficulty));
ckb_logger::info!(
"header_map.memory_limit {}",
sync_config.header_map.memory_limit
);
let header_map = HeaderMap::new(
tmpdir,
sync_config.header_map.memory_limit.as_u64() as usize,
Expand Down

0 comments on commit 76be468

Please sign in to comment.