Skip to content

Commit

Permalink
Issue #13: use 1 thread in gunicron for now
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Oct 11, 2021
1 parent 2d49bb2 commit e26a4a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ RUN pip install -U pip==20.2.4
RUN pip install .


CMD ["gunicorn", "--workers=2", "--threads=2", "--bind=0.0.0.0:8080", "openeo_aggregator.app:create_app()"]
CMD ["gunicorn", "--workers=4", "--threads=1", "--bind=0.0.0.0:8080", "openeo_aggregator.app:create_app()"]
2 changes: 1 addition & 1 deletion scripts/run-gunicorn.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash

gunicorn --workers=2 --threads=2 --bind 0.0.0.0:8080 'openeo_aggregator.app:create_app()'
gunicorn --workers=4 --threads=1 --bind 0.0.0.0:8080 'openeo_aggregator.app:create_app()'

0 comments on commit e26a4a2

Please sign in to comment.