Explorar o código

more uwsgi tweaks

George Baugh %!s(int64=3) %!d(string=hai) anos
pai
achega
003c561e38
Modificáronse 2 ficheiros con 5 adicións e 1 borrados
  1. 4 0
      config/tcms.ini
  2. 1 1
      tcms

+ 4 - 0
config/tcms.ini

@@ -6,6 +6,10 @@ processes = 5
 http-socket = :5000
 plugin = psgi
 socket = tcms.sock
+thunder-lock = 1
+
+# Speed up reloads, don't run 2 instances or you'll die
+reuse-port = 1
 
 # Reporting
 memory-report = 1

+ 1 - 1
tcms

@@ -1,2 +1,2 @@
 #!/bin/bash
-uwsgi --ini config/tcms.ini --perl-auto-reload=1
+uwsgi --ini config/tcms.ini