Browse Source

Overwrite default socketserver.ForkingMixIn max_children limit

Yann Weber 8 years ago
parent
commit
0aaadb3d2d
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      lodel/plugins/multisite/main.py

+ 3
- 0
lodel/plugins/multisite/main.py View File

@@ -104,6 +104,9 @@ class HtppHandler(wsgiref.simple_server.WSGIRequestHandler):
104 104
 ##@brief Speciallized ForkingTCPServer to fit specs of WSGIHandler
105 105
 class HttpServer(socketserver.ForkingTCPServer):
106 106
     
107
+    ##@brief Max childs count
108
+    max_children = 80
109
+
107 110
     ##@brief Onverwritting of ForkingTCPServer.server_bind method
108 111
     #to fit the wsgiref specs
109 112
     def server_bind(self):

Loading…
Cancel
Save