This commit is contained in:
Florent Daigniere
2024-09-12 10:39:18 +02:00
parent 307353107d
commit a875d7fe6a
5 changed files with 43 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ test_unsupported()
cmdline = [
"gunicorn",
"--threads", f"{os.cpu_count()}",
"--threads", f"{CPU_COUNT}",
# 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",