Explorar o código

Fix #248 - auto-hup workers after 1024 requests

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

+ 3 - 0
config/tcms.ini

@@ -8,6 +8,9 @@ plugin = psgi
 socket = tcms.sock
 thunder-lock = 1
 
+# Respawn workers after X requests, just in case there are subtle memory leaks
+max-requests = 1024
+
 # Speed up reloads, don't run 2 instances or you'll die
 reuse-port = 1