From 625684fcc442767af013de2dfd1fc90dd73f1744 Mon Sep 17 00:00:00 2001 From: Petrik de Heus Date: Tue, 10 Oct 2023 01:55:25 +0200 Subject: [PATCH] [ruby/agoo] Fix and enable fortunes for Agoo (#8479) --- frameworks/Ruby/agoo/app.rb | 4 ++-- frameworks/Ruby/agoo/benchmark_config.json | 1 + frameworks/Ruby/agoo/config.toml | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/frameworks/Ruby/agoo/app.rb b/frameworks/Ruby/agoo/app.rb index 52a187cbdf5..f2c2c9f3301 100644 --- a/frameworks/Ruby/agoo/app.rb +++ b/frameworks/Ruby/agoo/app.rb @@ -122,7 +122,7 @@ def self.call(_req) - Fortune + Fortunes @@ -132,7 +132,7 @@ def self.call(_req) #{ f_2 }
- HTML end diff --git a/frameworks/Ruby/agoo/benchmark_config.json b/frameworks/Ruby/agoo/benchmark_config.json index 343ea94f345..a4042facee3 100644 --- a/frameworks/Ruby/agoo/benchmark_config.json +++ b/frameworks/Ruby/agoo/benchmark_config.json @@ -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", diff --git a/frameworks/Ruby/agoo/config.toml b/frameworks/Ruby/agoo/config.toml index 66a69d774c0..bcaec948127 100644 --- a/frameworks/Ruby/agoo/config.toml +++ b/frameworks/Ruby/agoo/config.toml @@ -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"