Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pgarg66 committed May 3, 2023
1 parent 02841ad commit c0ca43e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4714,11 +4714,11 @@ impl Bank {

execution_time.stop();

const EVICT_CACHE_TO_PERCENTAGE: u8 = 90;
const SHRINK_LOADED_PROGRAMS_TO_PERCENTAGE: u8 = 90;
self.loaded_programs_cache
.write()
.unwrap()
.sort_and_unload(Percentage::from(EVICT_CACHE_TO_PERCENTAGE));
.sort_and_unload(Percentage::from(SHRINK_LOADED_PROGRAMS_TO_PERCENTAGE));

debug!(
"check: {}us load: {}us execute: {}us txs_len={}",
Expand Down

0 comments on commit c0ca43e

Please sign in to comment.