summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhaokun <[email protected]>2024-06-07 19:24:37 +0800
committerzhaokun <[email protected]>2024-06-07 19:24:37 +0800
commitea3fb4f0e937071ebf8a0086948abdab21ce5d06 (patch)
tree3dcbaab5d97ef8666a153c79022d2b9b16d68c53
parentd8b8368fccb3ef513414c9bf2b9816b0ad3c352a (diff)
update gunicorn file
-rw-r--r--gunicorn.conf.py2
-rw-r--r--start_gunicorn.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/gunicorn.conf.py b/gunicorn.conf.py
index 796a2fe..a8f5f61 100644
--- a/gunicorn.conf.py
+++ b/gunicorn.conf.py
@@ -1,6 +1,6 @@
# gunicorn.conf.py
-timeout = 600
+timeout = 1000
# 绑定到的IP地址和端口号
bind = "0.0.0.0:8900"
diff --git a/start_gunicorn.sh b/start_gunicorn.sh
index a62594f..c1d3014 100644
--- a/start_gunicorn.sh
+++ b/start_gunicorn.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-python3 /opt/traffic_replay/kill_gunicorn.py
+# python3 /opt/traffic_replay/kill_gunicorn.py
gunicorn -c gunicorn.conf.py app:app &
# /usr/local/bin/supervisord -c /opt/traffic_replay/supervisor.conf \ No newline at end of file