Skip to content

Commit

Permalink
Generate data
Browse files Browse the repository at this point in the history
  • Loading branch information
nieznanysprawiciel committed Sep 17, 2024
1 parent 1de3730 commit ae23b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtimes/dummy/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async fn generate_traffic(info: web::Query<GenerateTrafficQuery>) -> impl Respon
);

tokio::time::sleep(info.sleep_time).await;
HttpResponse::Ok()
HttpResponse::Ok().body(vec![1; info.response_size as usize])
}

#[actix_web::main]
Expand Down

0 comments on commit ae23b9a

Please sign in to comment.