1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-02-13 13:28:30 +02:00
(cherry picked from commit c6c4c09f08fdd130105c04d3e529f0fcda956f65)
This commit is contained in:
Florent Daigniere 2024-09-12 10:58:09 +02:00 committed by Mergify
parent 80427fb77c
commit cb3ed1598d

View File

@ -64,7 +64,7 @@ test_unsupported()
cmdline = [
"gunicorn",
"--threads", f"{CPU_COUNT}",
"--threads", f"{os.environ.get('CPU_COUNT', 1)}",
# If SUBNET6 is defined, gunicorn must listen on IPv6 as well as IPv4
"-b", f"{'[::]' if os.environ.get('SUBNET6') else '0.0.0.0'}:8080",
"--logger-class mailu.Logger",