Browse Source

Comet fix fortunes url (#5840)

Joan Miquel 5 years ago
parent
commit
35e8588675
2 changed files with 3 additions and 3 deletions
  1. 1 1
      frameworks/PHP/comet/app.php
  2. 2 2
      frameworks/PHP/comet/benchmark_config.json

+ 1 - 1
frameworks/PHP/comet/app.php

@@ -59,7 +59,7 @@ $app->get('/update',
     UpdateController::class);
 
 // #6 Return Fortunes
-$app->get('/fortune',    
+$app->get('/fortunes',    
     FortuneController::class);
 
 $app->run();

+ 2 - 2
frameworks/PHP/comet/benchmark_config.json

@@ -7,7 +7,7 @@
       "db_url": "/db",
       "query_url": "/query?q=",
       "update_url": "/update?q=",
-      "fortune_url": "/fortune",
+      "fortune_url": "/fortunes",
       "port": 8080,
       "approach": "Realistic",
       "classification": "Micro",
@@ -28,7 +28,7 @@
       "db_url": "/db",
       "query_url": "/query?q=",
       "update_url": "/update?q=",
-      "fortune_url": "/fortune",
+      "fortune_url": "/fortunes",
       "port": 8080,
       "approach": "Realistic",
       "classification": "Micro",