From 1fc06f799d37e170d89f915d6fe5c83c8ada554d Mon Sep 17 00:00:00 2001 From: Kuan Fan Date: Tue, 19 Mar 2024 11:48:14 -0700 Subject: [PATCH] update backend bind port 8080 --- django/gunicorn.cfg.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/django/gunicorn.cfg.py b/django/gunicorn.cfg.py index 1e50f170..f6b80dc1 100644 --- a/django/gunicorn.cfg.py +++ b/django/gunicorn.cfg.py @@ -43,7 +43,11 @@ # A positive integer. Generally set in the 1-5 seconds range. # -workers = 8 -timeout = 600 -graceful_timeout = 600 -keepalive = 5 +# workers = 8 +# timeout = 600 +# graceful_timeout = 600 +# keepalive = 5 + +bind = "0.0.0.0:8080" +workers = 2 +timeout = 600 \ No newline at end of file