Skip to content

Commit

Permalink
chore: add comment to importer-offline
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospb19-cw committed Dec 2, 2024
1 parent b9d3bb9 commit d2ca52f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/importer_offline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ const RPC_FETCHER_CHANNEL_CAPACITY: usize = 10;
/// block right away, but the information from that block still needs to be
/// found in the cache.
///
/// These constants are organized to guarantee that accounts and slots can
/// still be found in the storage cache.
/// NOTE: The size below will only work if the cache is big enough to hold
/// slots and accounts for this number of blocks.
const CACHE_SIZE: usize = 10_000;
const MAX_BLOCKS_NOT_SAVED: usize = CACHE_SIZE - 1;

Expand Down

0 comments on commit d2ca52f

Please sign in to comment.