Browse Source

Update kumbiaphp-workerman (#5573)

* Add more memory in workerman php

* Change name to kumbiaphp-workerman-mysql
Joan Miquel 5 years ago
parent
commit
d301de56e9

+ 1 - 1
frameworks/PHP/kumbiaphp/benchmark_config.json

@@ -45,7 +45,7 @@
             "notes": "",
             "versus": "php"
           },
-          "workerman": {
+          "workerman-mysql": {
             "plaintext_url": "/",
             "json_url": "/json",
             "db_url": "/db",

+ 1 - 1
frameworks/PHP/kumbiaphp/deploy/conf/cliphp.ini

@@ -8,4 +8,4 @@ opcache.interned_strings_buffer=16
 opcache.huge_code_pages=1
 
 mysqlnd.collect_statistics = Off
-memory_limit = 512M
+memory_limit = 768M

+ 0 - 1
frameworks/PHP/kumbiaphp/kumbiaphp-workerman.dockerfile → frameworks/PHP/kumbiaphp/kumbiaphp-workerman-mysql.dockerfile

@@ -21,7 +21,6 @@ RUN git clone -b dev --single-branch --depth 1 https://github.com/KumbiaPHP/Kumb
 RUN git clone -b master --single-branch --depth 1 https://github.com/KumbiaPHP/ActiveRecord.git vendor/Kumbia/ActiveRecord
 
 RUN sed -i "s|header(|\\\Workerman\\\Protocols\\\Http::header(|g" bench/app/controllers/*.php
-#RUN sed -i "s|mysql:host|pgsql:host|g" bench/app/config/databases.php
 
 RUN composer install --optimize-autoloader --classmap-authoritative --no-dev --quiet