[CalendarServer-changes] [15599] CalendarServer/trunk

source_changes at macosforge.org source_changes at macosforge.org
Wed May 18 12:45:34 PDT 2016


Revision: 15599
          http://trac.calendarserver.org//changeset/15599
Author:   sagen at apple.com
Date:     2016-05-18 12:45:34 -0700 (Wed, 18 May 2016)
Log Message:
-----------
Make LDAP pool config configurable

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/stdconfig.py
    CalendarServer/trunk/txdav/who/util.py

Modified: CalendarServer/trunk/twistedcaldav/stdconfig.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/stdconfig.py	2016-05-18 18:28:54 UTC (rev 15598)
+++ CalendarServer/trunk/twistedcaldav/stdconfig.py	2016-05-18 19:45:34 UTC (rev 15599)
@@ -101,6 +101,8 @@
             "resources": "",
             "addresses": "",
         },
+        "threadPoolMax": 10,
+        "connectionMax": 10,
         "tries": 3,
     },
 }

Modified: CalendarServer/trunk/txdav/who/util.py
===================================================================
--- CalendarServer/trunk/txdav/who/util.py	2016-05-18 18:28:54 UTC (rev 15598)
+++ CalendarServer/trunk/txdav/who/util.py	2016-05-18 19:45:34 UTC (rev 15599)
@@ -190,6 +190,8 @@
                     CalRecordType.resource: extraFilters.get("resources", ""),
                     CalRecordType.address: extraFilters.get("addresses", ""),
                 },
+                threadPoolMax=params.get("threadPoolMax", 10),
+                connectionMax=params.get("connectionMax", 10),
                 tries=params.tries
             )
             ldapService = directory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160518/1bd51634/attachment.html>


More information about the calendarserver-changes mailing list