Skip to content

Commit

Permalink
regress performance
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed May 13, 2024
1 parent 74f708c commit 0512223
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shotover/src/transforms/loopback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ impl Transform for Loopback {
}

async fn transform<'a>(&'a mut self, mut requests_wrapper: Wrapper<'a>) -> Result<Messages> {
std::thread::sleep(std::time::Duration::from_secs(1));
// This transform ultimately doesnt make a lot of sense semantically
// but make a vague attempt to follow transform invariants anyway.
for request in &mut requests_wrapper.requests {
Expand Down

0 comments on commit 0512223

Please sign in to comment.