Skip to content

Commit

Permalink
trace
Browse files Browse the repository at this point in the history
  • Loading branch information
mraszyk committed Oct 24, 2024
1 parent 6f6e10c commit f57453c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rs/pocket_ic_server/src/state_api/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1389,7 +1389,9 @@ impl ApiState {
let (bg_task, busy_outcome) = if let Some(instance_mutex) =
instances_locked.get(instance_id)
{
println!("waiting to grab instance mutex; instance_id={:?}, op_id={:?}", instance_id, op_id);
let mut instance = instance_mutex.lock().await;
println!("grabbed instance mutex; instance_id={:?}, op_id={:?}", instance_id, op_id);
// If this instance is busy, return the running op and initial state
match &instance.state {
InstanceState::Deleted => {
Expand Down

0 comments on commit f57453c

Please sign in to comment.