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
c2a0f39a
Commit
c2a0f39a
authored
Jul 20, 2003
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dont try to dwim CONNECTION_LIMIT, instead take it from Zope configuration.
parent
282590f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
lib/python/ZServer/__init__.py
lib/python/ZServer/__init__.py
+2
-1
lib/python/ZServer/utils.py
lib/python/ZServer/utils.py
+0
-4
No files found.
lib/python/ZServer/__init__.py
View file @
c2a0f39a
...
...
@@ -13,6 +13,7 @@
import
sys
import
utils
from
App.config
import
getConfiguration
#########################################################
### declarations used by external packages
...
...
@@ -24,7 +25,7 @@ exit_code = 0
ZSERVER_VERSION
=
'1.1'
# the maximum number of incoming connections to ZServer
CONNECTION_LIMIT
=
utils
.
getMaxSockets
()
CONNECTION_LIMIT
=
1000
# may be reset by max_listen_sockets handler in Zope
# the Zope version string
ZOPE_VERSION
=
utils
.
getZopeVersion
()
...
...
lib/python/ZServer/utils.py
View file @
c2a0f39a
...
...
@@ -13,10 +13,6 @@
""" A set of utility routines used by asyncore initialization """
def
getMaxSockets
():
from
medusa.test
import
max_sockets
return
max_sockets
.
max_select_sockets
()
def
getZopeVersion
():
import
App.version_txt
App
.
version_txt
.
version_txt
()
...
...
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