Browse Source

Align naming of tests with asp.net core + create less MySQL pooled connections (#6774)

* Naming of tests aligned to asp.net core

* Lower number of MySQL pooled connections
LLT21 3 years ago
parent
commit
ed04e3a612

+ 2 - 2
frameworks/CSharp/appmpower/benchmark_config.json

@@ -38,7 +38,7 @@
         "webserver": "Kestrel",
         "os": "Linux",
         "database_os": "Linux",
-        "display_name": "appMpower [Middleware, Odbc, Pg]",
+        "display_name": "appMpower [Middleware, Pg, Odbc]",
         "notes": "",
         "versus": "aspcore-mw-ado-pg"
       },
@@ -59,7 +59,7 @@
         "webserver": "Kestrel",
         "os": "Linux",
         "database_os": "Linux",
-        "display_name": "appMpower [Middleware, Odbc, My]",
+        "display_name": "appMpower [Middleware, My, Odbc]",
         "notes": "",
         "versus": "aspcore-mw-ado-my"
       }

+ 2 - 2
frameworks/CSharp/appmpower/src/Db/PooledConnections.cs

@@ -10,7 +10,7 @@ namespace appMpower.Db
       private static short _createdConnections = 0;
 
 #if MYSQL
-      private static short _maxConnections = 1250; 
+      private static short _maxConnections = 500; 
 #else
       private static short _maxConnections = 500;
 #endif
@@ -85,4 +85,4 @@ namespace appMpower.Db
          }
       }
    }
-}
+}