From b815d1917345f85e0eae69cac944c03b9dfb70dc Mon Sep 17 00:00:00 2001 From: adam j hartz Date: Mon, 29 Dec 2025 00:46:44 -0500 Subject: [PATCH] add ability to pass extra options to uwsgi at startup --- CHANGELOG.md | 3 +++ catsoop/scripts/start_catsoop.py | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 059786c1..1ba9a031 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ _(Work toward next release. Currently under development.)_ * Information about the current user's dark mode settings are now available via `cs_dark_mode_settings` +* Added the ability to specify additional arguments to pass to uWSGI via + `cs_extra_uwsgi_options` + **CHANGED** * Improved error messages in the `list_users` API endpoint diff --git a/catsoop/scripts/start_catsoop.py b/catsoop/scripts/start_catsoop.py index e78fedea..62acf440 100644 --- a/catsoop/scripts/start_catsoop.py +++ b/catsoop/scripts/start_catsoop.py @@ -158,6 +158,7 @@ def main(options=[]): "wsgi.py", "--plugins-list", ] + + getattr(base_context, 'cs_extra_uwsgi_options', []) + ( [] if _max_requests is None