Skip to content

Commit

Permalink
Reduce concurrency to save memory
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryf0x committed Oct 25, 2023
1 parent 790f991 commit fd17900
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0

[program:gunicorn]
command=/usr/local/bin/gunicorn artshowjockey.wsgi -w 4 -b 127.0.0.1:5000
command=/usr/local/bin/gunicorn artshowjockey.wsgi -w 2 -b 127.0.0.1:5000
directory=/code
user=nobody
stdout_logfile=/dev/stdout
Expand All @@ -19,7 +19,7 @@ stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0

[program:celery]
command=/usr/local/bin/celery -A artshowjockey worker -l info
command=/usr/local/bin/celery -A artshowjockey worker -l info --concurrency=2
directory=/code
user=nobody
stdout_logfile=/dev/stdout
Expand Down

0 comments on commit fd17900

Please sign in to comment.