aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2020-04-10 18:18:16 -0700
committerJordan <me@jordan.im>2020-04-10 18:18:16 -0700
commita1aff012d039832ea2a6c1fc23d1e7a5840f0784 (patch)
treeb3fabcccca6d10437fdc57ceb848499d43cddc05
parentf8e3260a4c51e7d1cfc754d5f260c596efe6e826 (diff)
downloadroka-a1aff012d039832ea2a6c1fc23d1e7a5840f0784.tar.gz
roka-a1aff012d039832ea2a6c1fc23d1e7a5840f0784.zip
increase uwsgi limits in example, venv location-agnostic
-rw-r--r--uwsgi.ini.example4
-rwxr-xr-xuwsgi.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/uwsgi.ini.example b/uwsgi.ini.example
index 90b60c4..49dee9c 100644
--- a/uwsgi.ini.example
+++ b/uwsgi.ini.example
@@ -1,7 +1,7 @@
[uwsgi]
http = 127.0.0.1:8085
-processes = 1
-threads = 1
+processes = 2
+threads = 4
wsgi-file = run.py
callable = app
master = true
diff --git a/uwsgi.sh b/uwsgi.sh
index d5113df..0b416de 100755
--- a/uwsgi.sh
+++ b/uwsgi.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# sandbox dir is virtualenv (python3 -m venv sandbox)
-. sandbox/bin/activate
+# . sandbox/bin/activate
# uwsgi.ini.example provided as template
uwsgi --ini uwsgi.ini