Commit a31bbba1 authored by Hanno Schlichting's avatar Hanno Schlichting

Changed zope.conf default settings for `zserver-threads` to `2` and...

Changed zope.conf default settings for `zserver-threads` to `2` and `python-check-interval` to `1000`.
parent f3a9528b
...@@ -31,6 +31,9 @@ Features Added ...@@ -31,6 +31,9 @@ Features Added
Restructuring Restructuring
+++++++++++++ +++++++++++++
- Changed zope.conf default settings for `zserver-threads` to `2` and
`python-check-interval` to `1000`.
- Simplified instance skeleton, removing old `Extensions`, `import`, - Simplified instance skeleton, removing old `Extensions`, `import`,
`lib/python` and `Products` from the default. You can continue to manually `lib/python` and `Products` from the default. You can continue to manually
add these back. add these back.
......
...@@ -447,15 +447,15 @@ ...@@ -447,15 +447,15 @@
<metadefault>us</metadefault> <metadefault>us</metadefault>
</key> </key>
<key name="zserver-threads" datatype="integer" default="4"> <key name="zserver-threads" datatype="integer" default="2">
<description> <description>
Specify the number of threads that Zope's ZServer web server will use Specify the number of threads that Zope's ZServer web server will use
to service requests. The default is 4. to service requests. The default is 2.
</description> </description>
<metadefault>4 threads</metadefault> <metadefault>2</metadefault>
</key> </key>
<key name="python-check-interval" datatype="integer" default="500"> <key name="python-check-interval" datatype="integer" default="1000">
<description> <description>
Value passed to Python's sys.setcheckinterval() function. The Value passed to Python's sys.setcheckinterval() function. The
higher this is, the less frequently the Python interpreter higher this is, the less frequently the Python interpreter
......
...@@ -159,13 +159,13 @@ instancehome $INSTANCE ...@@ -159,13 +159,13 @@ instancehome $INSTANCE
# #
# Description: # Description:
# Specify the number of threads that Zope's ZServer web server will use # Specify the number of threads that Zope's ZServer web server will use
# to service requests. The default is 4. # to service requests. The default is 2.
# #
# Default: 4 # Default: 2
# #
# Example: # Example:
# #
# zserver-threads 10 # zserver-threads 3
# Directive: python-check-interval # Directive: python-check-interval
...@@ -174,15 +174,15 @@ instancehome $INSTANCE ...@@ -174,15 +174,15 @@ instancehome $INSTANCE
# Specify an integer representing the Python interpreter "check # Specify an integer representing the Python interpreter "check
# interval" This interval determines how often the interpreter checks # interval" This interval determines how often the interpreter checks
# for periodic things such as thread switches and signal handlers. The # for periodic things such as thread switches and signal handlers. The
# Zope default is 500, but you may want to experiment with other values # Zope default is 1000, but you may want to experiment with other values
# in order to attempt to increae performance in your particular # in order to attempt to increase performance in your particular
# environment. # environment.
# #
# Default: 500 # Default: 1000
# #
# Example: # Example:
# #
# python-check-interval 1000 # python-check-interval 1500
# Directive: zserver-read-only-mode # Directive: zserver-read-only-mode
......
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