Author: chrisz
Date: Sat Mar 24 05:43:19 2007
New Revision: 6352
Modified:
Webware/trunk/WebKit/Configs/AppServer.config
Webware/trunk/WebKit/Configs/Application.config
Webware/trunk/WebKit/Docs/Configuration.txt
Log:
Documented the new settings, added some comments to AppServer.config.
Modified: Webware/trunk/WebKit/Configs/AppServer.config
==============================================================================
--- Webware/trunk/WebKit/Configs/AppServer.config (original)
+++ Webware/trunk/WebKit/Configs/AppServer.config Sat Mar 24 05:43:19 2007
@@ -1,14 +1,24 @@
+# AppServer.config file for Webware for Python
+
PrintConfigAtStartUp = True
-Verbose = True
-Host = 'localhost'
-EnableAdapter = True
+Verbose = True # verbose output
+
+PlugInDirs = [WebwarePath] # load all Wewbare plug-ins
+PlugIns = [] # use this if you want to load specific plug-ins only
+
+# This is the IP address at which the application server will listen:
+Host = 'localhost' # use '' for listening on all network interfaces
+
+EnableAdapter = True # enable WebKit adapter
AdapterPort = 8086
-EnableHTTP = True
+
+EnableHTTP = True # enable built-in Webwserver
HTTPPort = 8080
-PlugIns = []
-PlugInDirs = [WebwarePath]
+
+# The initial, minimum and maxium number of worker threads:
StartServerThreads = 10
-MaxServerThreads = 20
MinServerThreads = 5
-CheckInterval = 100
-AutoReload = False
\ No newline at end of file
+MaxServerThreads = 20
+
+# You can activate auto reloading on source changes here:
+AutoReload = False
Modified: Webware/trunk/WebKit/Configs/Application.config
==============================================================================
--- Webware/trunk/WebKit/Configs/Application.config (original)
+++ Webware/trunk/WebKit/Configs/Application.config Sat Mar 24 05:43:19 2007
@@ -1,3 +1,5 @@
+# Application.config file for Webware for Python
+
# The password for the Admin context:
AdminPassword = '' # you cannot log in with an empty password
Modified: Webware/trunk/WebKit/Docs/Configuration.txt
==============================================================================
--- Webware/trunk/WebKit/Docs/Configuration.txt (original)
+++ Webware/trunk/WebKit/Docs/Configuration.txt Sat Mar 24 05:43:19 2007
@@ -412,6 +412,18 @@
to ``sys.setcheckinterval()``. Benchmarks have shown 100 to give a
worthwhile performance boost with higher values resulting in
little gain. Default: ``100``.
+``RequestQueueSize``:
+ The size of the queue for request handlers that is worked off by the
+ server threads. A size of zero is interpreted as two times the maximum
+ number of worker threads, which has proven to be a reasonable number.
+ Default: ``0`` (``2*MaxServerThreads``).
+``RequestBufferSize``:
+ Buffer size used for reading incoming socket requests. Default: ``8192``.
+``ResponseBufferSize``:
+ Buffer size for the output response stream. This is only used when a
+ servlet has set ``autoFlush`` to True using the ``flush()`` method of
+ the Response. Otherwise, the whole response is buffered and sent in one
+ shot when the servlet is done. Default: ``8192``.
``AutoReload``:
Enables the AutoReloadingAppServer module. This module is designed
to notice changes to source files, including servlets, PSP's templates,
|