Skip to content

Commit

Permalink
Run uswgi with 1 process and 4 threads
Browse files Browse the repository at this point in the history
  • Loading branch information
4c0n committed Dec 16, 2024
1 parent 8d9544f commit add6391
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ENV UWSGI_MASTER 1
ENV UWSGI_OFFLOAD_THREADS 1
ENV UWSGI_HARAKIRI 25

CMD uwsgi
CMD ["uwsgi", "/app/uwsgi.ini"]


FROM signals-classification-base AS signals-classification-train
Expand Down
3 changes: 3 additions & 0 deletions uwsgi.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[uwsgi]
processes = 1
threads = 4

0 comments on commit add6391

Please sign in to comment.