Skip to content

Commit 625684f

Browse files
authored
[ruby/agoo] Fix and enable fortunes for Agoo (#8479)
1 parent 912ecf9 commit 625684f

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

frameworks/Ruby/agoo/app.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def self.call(_req)
122122
<!DOCTYPE html>
123123
<html>
124124
<head>
125-
<title>Fortune</title>
125+
<title>Fortunes</title>
126126
</head>
127127
<body>
128128
<table>
@@ -132,7 +132,7 @@ def self.call(_req)
132132
</tr>
133133
#{ f_2 }
134134
</table>
135-
</body
135+
</body>
136136
</html>
137137
HTML
138138
end

frameworks/Ruby/agoo/benchmark_config.json

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"db_url": "/db",
77
"query_url": "/queries?queries=",
88
"update_url": "/updates?queries=",
9+
"fortune_url": "/fortunes",
910
"plaintext_url": "/plaintext",
1011
"port": 8080,
1112
"approach": "Realistic",

frameworks/Ruby/agoo/config.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ urls.json = "/json"
77
urls.db = "/db"
88
urls.query = "/queries?queries="
99
urls.update = "/updates?queries="
10+
urls.fortune = "/fortunes"
1011
approach = "Realistic"
1112
classification = "Micro"
1213
database = "Postgres"

0 commit comments

Comments
 (0)