Skip to content

Commit a70af95

Browse files
bug: increased length of route in line with requirements
1 parent 2d67f90 commit a70af95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frameworks/Rust/axum/benchmark_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"docker_cmd": "/app/axum-sqlx",
2929
"db_url": "/db",
3030
"fortune_url": "/fortunes",
31-
"cached_query_url": "/cached?q=",
31+
"cached_query_url": "/cached-queries?q=",
3232
"port": 8000,
3333
"approach": "Realistic",
3434
"classification": "Fullstack",

frameworks/Rust/axum/src/main_sqlx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ async fn main() {
149149
.route("/fortunes", get(fortunes))
150150
.route("/db", get(db))
151151
.route("/queries", get(queries))
152-
.route("/cached", get(cache))
152+
.route("/cached-queries", get(cache))
153153
.with_state(state);
154154

155155
server::serve_hyper(app, Some(8000)).await

0 commit comments

Comments
 (0)