Don't use --preload, it causes threading errors with Fedora Messaging on Python 3.13

Ref: https://github.com/fedora-infra/fedora-messaging/issues/431

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2025-04-17 13:06:36 +02:00
parent ffb00530d2
commit 1fb6c82482
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -45,7 +45,9 @@ items:
- name: bodhi-web
image: bodhi-base:latest
command: ["gunicorn"]
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-k", "gthread", "--threads", "2", "--preload", "--log-file=-"]
# Don't use --preload, it causes threading errors with Fedora Messaging on Python 3.13
# https://github.com/fedora-infra/fedora-messaging/issues/431
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-k", "gthread", "--threads", "2", "--log-file=-"]
ports:
- containerPort: 8080
name: web