Skip to content

Commit

Permalink
[mock_uss/gunicorn] Use gevent worker type to mitigate #28 (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickmis authored Oct 18, 2023
1 parent ce2d3f6 commit 2993121
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion monitoring/mock_uss/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export PYTHONUNBUFFERED=TRUE
gunicorn \
--preload \
--config ./gunicorn.conf.py \
--worker-class="gevent" \
--workers=4 \
--threads=2 \
--worker-tmp-dir="/dev/shm" \
"--bind=0.0.0.0:${port}" \
monitoring.mock_uss:webapp
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ faker===8.1.0 # uss_qualifier
flask==1.1.2
Flask-HTTPAuth==4.7.0 # atproxy
geojson===2.5.0 # uss_qualifier
gevent==22.10.2 # mock_uss / gunicorn worker
google-auth==1.6.3
graphviz==0.20.1 # uss_qualifier
gunicorn==20.1.0
Expand Down

0 comments on commit 2993121

Please sign in to comment.