[CalendarServer-changes] [15146] CalendarServer/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Tue Sep 22 11:18:51 PDT 2015
Revision: 15146
http://trac.calendarserver.org//changeset/15146
Author: cdaboo at apple.com
Date: 2015-09-22 11:18:51 -0700 (Tue, 22 Sep 2015)
Log Message:
-----------
Latest twext. Allow job queue polling back off to be configured via stdconfig.
Modified Paths:
--------------
CalendarServer/trunk/requirements-stable.txt
CalendarServer/trunk/twistedcaldav/stdconfig.py
Modified: CalendarServer/trunk/requirements-stable.txt
===================================================================
--- CalendarServer/trunk/requirements-stable.txt 2015-09-22 18:16:52 UTC (rev 15145)
+++ CalendarServer/trunk/requirements-stable.txt 2015-09-22 18:18:51 UTC (rev 15146)
@@ -36,7 +36,7 @@
#pyOpenSSL
pycrypto==2.6.1
- --editable svn+http://svn.calendarserver.org/repository/calendarserver/twext/trunk@15141#egg=twextpy
+ --editable svn+http://svn.calendarserver.org/repository/calendarserver/twext/trunk@15145#egg=twextpy
cffi==1.1.0
pycparser==2.13
#twisted
Modified: CalendarServer/trunk/twistedcaldav/stdconfig.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/stdconfig.py 2015-09-22 18:16:52 UTC (rev 15145)
+++ CalendarServer/trunk/twistedcaldav/stdconfig.py 2015-09-22 18:18:51 UTC (rev 15146)
@@ -256,6 +256,9 @@
"WorkQueue": {
"queuePollInterval": 0.1, # Interval in seconds for job queue polling
"queueOverdueTimeout": 300, # Number of seconds before an assigned job is considered overdue
+ "queuePollingBackoff": [ # Array of array that describe the threshold and new polling interval
+ [60, 60], [5, 1] # for job queue polling back off
+ ],
"overloadLevel": 95, # Queue capacity (percentage) which causes job processing to halt
"highPriorityLevel": 80, # Queue capacity (percentage) at which only high priority items are run
@@ -1327,6 +1330,7 @@
for attr in (
"queuePollInterval",
"queueOverdueTimeout",
+ "queuePollingBackoff",
"overloadLevel",
"highPriorityLevel",
"mediumPriorityLevel",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150922/d8d4a49f/attachment.html>
More information about the calendarserver-changes
mailing list