-
-
Save shashisingh/bfd9a2ab2e40d3422047f3be563ea2e6 to your computer and use it in GitHub Desktop.
uWSGI.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
PROCESSOR_COUNT=$(nproc) | |
THREAD_COUNT=2 | |
uwsgi --http :9808 --plugin python2 --wsgi-file app.py --processes "$PROCESSOR_COUNT" --threads "$THREAD_COUNT" --disable-logging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment