324-version-0180-always-timeout (#329)

* Refactor list component layout to use flex-wrap for improved responsiveness

* increase workers and timeout

* add nginx
This commit is contained in:
Xila Cai
2025-02-04 20:47:49 +01:00
committed by GitHub
parent 94f87c0497
commit c5bf935280
6 changed files with 93 additions and 25 deletions

View File

@@ -2,21 +2,30 @@
nodaemon=true
user=root
[program:gunicorn]
command=gunicorn --bind :8000 --preload config.wsgi:application
user=abc
[program:nginx]
command=nginx -g 'daemon off;'
user=root
priority=1
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:gunicorn]
command=gunicorn --bind localhost:8001 --preload config.wsgi:application --timeout 200 --max-requests 500 --max-requests-jitter 10
user=abc
priority=5
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:celery]
command=bash -c 'if [ "${ENV_DEBUG:-False}" = "True" ]; then LOGLEVEL=DEBUG; else LOGLEVEL=INFO; fi; celery --app config worker --loglevel $LOGLEVEL --without-mingle --without-gossip'
user=abc
stopasgroup=true
stopwaitsecs=60
priority=5
priority=10
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
@@ -26,7 +35,7 @@ stderr_logfile_maxbytes=0
command=bash -c 'if [ "${ENV_DEBUG:-False}" = "True" ]; then LOGLEVEL=DEBUG; else LOGLEVEL=INFO; fi; celery --app config beat -s ./db/celerybeat-schedule --loglevel $LOGLEVEL'
user=abc
stopasgroup=true
priority=10
priority=15
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr