Skip to content

Commit 3062528

Browse files
authored
Merge pull request #9 from magicblock-labs/bmuddha/fix/prune-program-cache
fix: completely prune the program cache when cache limit is hit
2 parents 1e6cfeb + 6f74a99 commit 3062528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transaction_processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ impl<FG: ForkGraph> TransactionBatchProcessor<FG> {
384384
self.program_cache
385385
.write()
386386
.unwrap()
387-
.prune_by_deployment_slot(self.slot);
387+
.prune(self.slot, self.epoch);
388388
continue;
389389
}
390390

0 commit comments

Comments
 (0)