[CalendarServer-changes] [2299]
CalendarServer/branches/release/CalendarServer-1.3-dev/twistedcaldav
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 11 02:50:00 PDT 2008
Revision: 2299
http://trac.macosforge.org/projects/calendarserver/changeset/2299
Author: wsanchez at apple.com
Date: 2008-04-11 02:49:58 -0700 (Fri, 11 Apr 2008)
Log Message:
-----------
Pull up r2286: allow setting HTTPFactory maxRequests value.
Modified Paths:
--------------
CalendarServer/branches/release/CalendarServer-1.3-dev/twistedcaldav/config.py
CalendarServer/branches/release/CalendarServer-1.3-dev/twistedcaldav/tap.py
Modified: CalendarServer/branches/release/CalendarServer-1.3-dev/twistedcaldav/config.py
===================================================================
--- CalendarServer/branches/release/CalendarServer-1.3-dev/twistedcaldav/config.py 2008-04-10 22:59:12 UTC (rev 2298)
+++ CalendarServer/branches/release/CalendarServer-1.3-dev/twistedcaldav/config.py 2008-04-11 09:49:58 UTC (rev 2299)
@@ -180,6 +180,10 @@
# Support for Content-Encoding compression options as specified in
# RFC2616 Section 3.5
"ResponseCompression": True,
+
+
+ # Set the maximum number of outstanding requests to this server.
+ "MaxRequests": 600,
}
class Config (object):
Modified: CalendarServer/branches/release/CalendarServer-1.3-dev/twistedcaldav/tap.py
===================================================================
--- CalendarServer/branches/release/CalendarServer-1.3-dev/twistedcaldav/tap.py 2008-04-10 22:59:12 UTC (rev 2298)
+++ CalendarServer/branches/release/CalendarServer-1.3-dev/twistedcaldav/tap.py 2008-04-11 09:49:58 UTC (rev 2299)
@@ -679,7 +679,7 @@
site = Site(realRoot)
- channel = http.HTTPFactory(site)
+ channel = http.HTTPFactory(site, maxRequests=config.MaxRequests)
if not config.BindAddresses:
config.BindAddresses = [""]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080411/140cf4eb/attachment.html
More information about the calendarserver-changes
mailing list