Commit 59305197 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

ganeti.http.server: Increase connection backlog to 1024

This solves a problem with many concurrent requests. By default, 1024
is the maximum backlog on Linux kernels. We limit the number of clients
through MAX_CHILDREN, too. The idea of just increasing the backlog is
taken from lighttpd.

Reviewed-by: amishchenko
parent 12bce260
......@@ -412,7 +412,7 @@ class HttpServer(http.HttpSocketBase):
def Start(self):
self.socket.bind((self.local_address, self.port))
def Stop(self):
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 to comment