From 57eeac3e82e029d5154695f16a732b86d6ee6bcd Mon Sep 17 00:00:00 2001 From: AliBsk Date: Sat, 28 Oct 2023 02:57:40 +0300 Subject: [PATCH] adding gunicorn, gunicornGevent --- py4web/server_adapters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py4web/server_adapters.py b/py4web/server_adapters.py index d671595cd..2bba2e1a6 100644 --- a/py4web/server_adapters.py +++ b/py4web/server_adapters.py @@ -191,7 +191,7 @@ def load_config(self): # $export GUNICORN_worker_class=uvicorn.workers.UvicornWorker # $export GUNICORN_worker_class=aiohttp.worker.GunicornWebWorker # - # time for i in {1..5000}; do curl -k http://localhost:8000/todo &>/dev/null ; done + # time seq 1 5000 | xargs -I % -P 10000 curl http://localhost:8000/mig1ssl &>/dev/null gunicorn_vars = dict()