Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
d2bb4b34
Commit
d2bb4b34
authored
Jun 19, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace
parent
f92ccb10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
src/Zope2/Startup/__init__.py
src/Zope2/Startup/__init__.py
+1
-5
No files found.
src/Zope2/Startup/__init__.py
View file @
d2bb4b34
...
@@ -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". '
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment