Преглед на файлове

Fix #248 - auto-hup workers after 1024 requests

George Baugh преди 3 години
родител
ревизия
9a6b04fdcb
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  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