This commit is contained in:
Antonio Scandurra 2022-11-28 17:44:18 +01:00
parent af2a2d2494
commit 0a565c6bae

View file

@ -2598,13 +2598,7 @@ where
background.simulate_random_delay().await;
}
let result = self.runtime.as_ref().unwrap().block_on(body);
// if let Some(background) = self.background.as_ref() {
// background.simulate_random_delay().await;
// }
result
self.runtime.as_ref().unwrap().block_on(body)
}
#[cfg(not(test))]