Skip to content

Commit

Permalink
Fix Gunicorn Threading
Browse files Browse the repository at this point in the history
  • Loading branch information
blastbeng committed Oct 8, 2024
1 parent c752b4d commit 272952d
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 @@ -11,4 +11,4 @@ mkdir -p ${CACHE_DIR}
chown -R user:user ${CACHE_DIR}

# Run the application as 'user'
gosu user gunicorn -k eventlet -b 0.0.0.0:5183 spotisub:spotisub
gosu user gunicorn -k eventlet -b 0.0.0.0:5183 spotisub:spotisub --threads=10 --worker-class=gthread
2 changes: 1 addition & 1 deletion installdeps_using_pyenv.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#/usr/bin/bash
/home/blast/.pyenv/versions/3.10.13/bin/python3 -m venv .venv
/home/blast/.pyenv/versions/3.10.14/bin/python3 -m venv .venv
source .venv/bin/activate; pip3 install -r requirements.txt

0 comments on commit 272952d

Please sign in to comment.