Commit d2bb4b34 authored by Hanno Schlichting's avatar Hanno Schlichting

Whitespace

parent f92ccb10
...@@ -185,18 +185,14 @@ class ZopeStarter: ...@@ -185,18 +185,14 @@ class ZopeStarter:
ZServer.setNumberOfThreads(self.cfg.zserver_threads) ZServer.setNumberOfThreads(self.cfg.zserver_threads)
ZServer.CONNECTION_LIMIT = self.cfg.max_listen_sockets ZServer.CONNECTION_LIMIT = self.cfg.max_listen_sockets
def serverListen(self): def serverListen(self):
for server in self.cfg.servers:
for server in self.cfg.servers:
if hasattr(server, 'fast_listen'): if hasattr(server, 'fast_listen'):
# This one has the delayed listening feature # This one has the delayed listening feature
if not server.fast_listen: if not server.fast_listen:
server.fast_listen = True server.fast_listen = True
server.listen(1024) # same value as defined in medusa.http_server.py server.listen(1024) # same value as defined in medusa.http_server.py
def setupServers(self): def setupServers(self):
socket_err = ( socket_err = (
'There was a problem starting a server of type "%s". ' 'There was a problem starting a server of type "%s". '
......
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