Skip to content

Commit 63a24be

Browse files
committed
refactor(supervisor): use 1 thread per process in conf
1 parent 21e9f88 commit 63a24be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/supervisord.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ startsecs=5
3636
stopwaitsecs = 5
3737

3838
[program:dramatiq]
39-
command=python3 manage.py rundramatiq --processes %(ENV_MAX_WORKER_NUM)s --threads 4
39+
command=python3 manage.py rundramatiq --processes %(ENV_MAX_WORKER_NUM)s --threads 1
4040
directory=%(ENV_WORKDIR)s
4141
stdout_logfile=%(ENV_WORKDIR)s/data/log/dramatiq.log
4242
stderr_logfile=%(ENV_WORKDIR)s/data/log/dramatiq.log

0 commit comments

Comments
 (0)