mirror of
https://github.com/FuzzyGrim/Yamtrack.git
synced 2026-03-03 02:47:03 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user