add ability to pass extra options to uwsgi at startup

This commit is contained in:
adam j hartz 2025-12-29 00:46:44 -05:00
commit b815d19173
Signed by: hz
GPG key ID: B63A0A59F5C82493
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -158,6 +158,7 @@ def main(options=[]):
"wsgi.py",
"--plugins-list",
]
+ getattr(base_context, 'cs_extra_uwsgi_options', [])
+ (
[]
if _max_requests is None