Skip to content

Commit

Permalink
Adjusts gunicorn worker to 1 due to errors with memory states
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Muth committed Jul 16, 2018
1 parent 4c327c9 commit b475657
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ case ${1} in
exec rpi-rf_receive "$@"
;;
serve)
exec gunicorn --workers 4 --bind 0.0.0.0:5000 ${FLASK_MODULE}
exec gunicorn --workers 1 --bind 0.0.0.0:5000 ${FLASK_MODULE}
;;
*)
exec "$@"
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

gunicorn --workers 4 --bind 0.0.0.0:5000 rpi433rc.app:app
gunicorn --workers 1 --bind 0.0.0.0:5000 rpi433rc.app:app

0 comments on commit b475657

Please sign in to comment.