Skip to content

Commit

Permalink
Update program-runtime/src/loaded_programs.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Trent Nelson <490004+t-nelson@users.noreply.github.com>
  • Loading branch information
pgarg66 and t-nelson authored Feb 28, 2024
1 parent 7f1308e commit 8717c0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions program-runtime/src/loaded_programs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -977,9 +977,9 @@ impl<FG: ForkGraph> LoadedPrograms<FG> {
{
self.stats.lost_insertions.fetch_add(1, Ordering::Relaxed);
}
let was_replaced = self.assign_program(key, loaded_program);
let was_occupied = self.assign_program(key, loaded_program);
self.loading_task_waiter.notify();
was_replaced
was_occupied
}

pub fn merge(&mut self, tx_batch_cache: &LoadedProgramsForTxBatch) {
Expand Down

0 comments on commit 8717c0a

Please sign in to comment.