From b036736c2891560161f39a82d60d9217a51f0d00 Mon Sep 17 00:00:00 2001 From: PetrS12 Date: Sat, 15 Jan 2022 01:40:47 +0300 Subject: [PATCH] added KESHA_UVICORN_WORKERS in uvicorn and modified CHANGELOG --- CHANGELOG.md | 6 ++++++ deploy/app/start-django-uvicorn.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7dc29c8..d982d37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ We follow [Semantic Versions](https://semver.org/). - Add status saving to the log [#75](https://github.com/NUTtech/Kesha/issues/75) - Add proxy requests with a two-way log record [#9](https://github.com/NUTtech/Kesha/issues/9) +BACKWARD COMPATIBILITY BREAK: +- Renamed LogEntry model fields [#9](https://github.com/NUTtech/Kesha/issues/9): + - body -> request_body + - date -> request_date + - headers -> request_headers + ### Minor changes - Add type annotations [#4](https://github.com/NUTtech/Kesha/issues/4) - Change logo [#60](https://github.com/NUTtech/Kesha/issues/60) diff --git a/deploy/app/start-django-uvicorn.sh b/deploy/app/start-django-uvicorn.sh index 873a827..01071e9 100755 --- a/deploy/app/start-django-uvicorn.sh +++ b/deploy/app/start-django-uvicorn.sh @@ -2,4 +2,4 @@ wait-for-it "${KESHA_DB_HOST:-kesha-database}":5432 -s -t 180 \ && python /app/src/manage.py migrate --noinput \ -&& uvicorn kesha.asgi:application --host '0.0.0.0' --port 8042 +&& uvicorn kesha.asgi:application --workers ${KESHA_UVICORN_WORKERS:-4} --host '0.0.0.0' --port 8042