diff --git a/program-runtime/src/loaded_programs.rs b/program-runtime/src/loaded_programs.rs index bba852cff2..eab5a21e57 100644 --- a/program-runtime/src/loaded_programs.rs +++ b/program-runtime/src/loaded_programs.rs @@ -35,7 +35,7 @@ use { }; pub type ProgramRuntimeEnvironment = Arc>>; -pub const MAX_LOADED_ENTRY_COUNT: usize = 256; +pub const MAX_LOADED_ENTRY_COUNT: usize = 512; pub const DELAY_VISIBILITY_SLOT_OFFSET: Slot = 1; /// Relationship between two fork IDs @@ -1635,7 +1635,7 @@ mod tests { assert_eq!(num_tombstones, num_tombstones_expected); // Evict entries from the cache - let eviction_pct = 2; + let eviction_pct = 1; let num_loaded_expected = Percentage::from(eviction_pct).apply_to(crate::loaded_programs::MAX_LOADED_ENTRY_COUNT); @@ -1718,7 +1718,7 @@ mod tests { assert_eq!(num_tombstones, num_tombstones_expected); // Evict entries from the cache - let eviction_pct = 2; + let eviction_pct = 1; let num_loaded_expected = Percentage::from(eviction_pct).apply_to(crate::loaded_programs::MAX_LOADED_ENTRY_COUNT);