Commit 7452abfb by Heechul Kim

diff --git a/conf/uwsgi.ini b/conf/uwsgi.ini

index 4ee3026..400dcc4 100644
--- a/conf/uwsgi.ini
+++ b/conf/uwsgi.ini
@@ -5,6 +5,8 @@ master = true
 venv = /home/%(uid)/.envs/porch
 chdir = /home/%(uid)/porch
 manage-script-name = true
+plugin = python3
+enable-threads = true
 mount = /=wsgi:app

 logto2 = /home/%(uid)/porch/porch.log
@@ -12,3 +14,7 @@ log-maxsize = 10485760
 log-backupname = /home/%(uid)/porch/porch.log.old

 vacuum = true
+
+# for forked long running process
+close-on-exec = true
+close-on-exec2 = true
parent 7233a199
Showing with 6 additions and 0 deletions
...@@ -5,6 +5,8 @@ master = true ...@@ -5,6 +5,8 @@ master = true
venv = /home/%(uid)/.envs/porch venv = /home/%(uid)/.envs/porch
chdir = /home/%(uid)/porch chdir = /home/%(uid)/porch
manage-script-name = true manage-script-name = true
plugin = python3
enable-threads = true
mount = /=wsgi:app mount = /=wsgi:app
logto2 = /home/%(uid)/porch/porch.log logto2 = /home/%(uid)/porch/porch.log
...@@ -12,3 +14,7 @@ log-maxsize = 10485760 ...@@ -12,3 +14,7 @@ log-maxsize = 10485760
log-backupname = /home/%(uid)/porch/porch.log.old log-backupname = /home/%(uid)/porch/porch.log.old
vacuum = true vacuum = true
# for forked long running process
close-on-exec = true
close-on-exec2 = true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment