Skip to content

Commit 67c7201

Browse files
committed
use uv loop worker for improved performances
1 parent 5df9a30 commit 67c7201

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/web/server/docker/boot.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ if [ "${SC_BOOT_MODE}" = "debug" ]; then
5757
exec python -m debugpy --listen 0.0.0.0:"${WEBSERVER_REMOTE_DEBUGGING_PORT}" -m gunicorn simcore_service_webserver.cli:app_factory \
5858
--log-level="${SERVER_LOG_LEVEL}" \
5959
--bind 0.0.0.0:8080 \
60-
--worker-class aiohttp.GunicornWebWorker \
60+
--worker-class aiohttp.GunicornUVLoopWebWorker \
6161
--workers="${WEBSERVER_GUNICORN_WORKERS:-1}" \
6262
--name="webserver_$(hostname)_$(date +'%Y-%m-%d_%T')_$$" \
6363
--access-logfile='-' \
@@ -70,7 +70,7 @@ else
7070
exec gunicorn simcore_service_webserver.cli:app_factory \
7171
--log-level="${SERVER_LOG_LEVEL}" \
7272
--bind 0.0.0.0:8080 \
73-
--worker-class aiohttp.GunicornWebWorker \
73+
--worker-class aiohttp.GunicornUVLoopWebWorker \
7474
--workers="${WEBSERVER_GUNICORN_WORKERS:-1}" \
7575
--name="webserver_$(hostname)_$(date +'%Y-%m-%d_%T')_$$" \
7676
--access-logfile='-' \

0 commit comments

Comments
 (0)