Skip to content

Commit

Permalink
[ruby/agoo] Fix and enable fortunes for Agoo (#8479)
Browse files Browse the repository at this point in the history
  • Loading branch information
p8 committed Oct 9, 2023
1 parent 912ecf9 commit 625684f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frameworks/Ruby/agoo/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def self.call(_req)
<!DOCTYPE html>
<html>
<head>
<title>Fortune</title>
<title>Fortunes</title>
</head>
<body>
<table>
Expand All @@ -132,7 +132,7 @@ def self.call(_req)
</tr>
#{ f_2 }
</table>
</body
</body>
</html>
HTML
end
Expand Down
1 change: 1 addition & 0 deletions frameworks/Ruby/agoo/benchmark_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"db_url": "/db",
"query_url": "/queries?queries=",
"update_url": "/updates?queries=",
"fortune_url": "/fortunes",
"plaintext_url": "/plaintext",
"port": 8080,
"approach": "Realistic",
Expand Down
1 change: 1 addition & 0 deletions frameworks/Ruby/agoo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ urls.json = "/json"
urls.db = "/db"
urls.query = "/queries?queries="
urls.update = "/updates?queries="
urls.fortune = "/fortunes"
approach = "Realistic"
classification = "Micro"
database = "Postgres"
Expand Down

0 comments on commit 625684f

Please sign in to comment.