[CalendarServer-changes] [6510] CalendarServer/branches/users/glyph/sharedpool/calendarserver/tap/ caldav.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Nov 1 14:17:36 PDT 2010
Revision: 6510
http://trac.macosforge.org/projects/calendarserver/changeset/6510
Author: glyph at apple.com
Date: 2010-11-01 14:17:34 -0700 (Mon, 01 Nov 2010)
Log Message:
-----------
connectionFactory->IAsyncTransaction
Modified Paths:
--------------
CalendarServer/branches/users/glyph/sharedpool/calendarserver/tap/caldav.py
Modified: CalendarServer/branches/users/glyph/sharedpool/calendarserver/tap/caldav.py
===================================================================
--- CalendarServer/branches/users/glyph/sharedpool/calendarserver/tap/caldav.py 2010-11-01 21:17:12 UTC (rev 6509)
+++ CalendarServer/branches/users/glyph/sharedpool/calendarserver/tap/caldav.py 2010-11-01 21:17:34 UTC (rev 6510)
@@ -723,7 +723,11 @@
attachmentsRoot = dbRoot.child("attachments")
return UpgradeToDatabaseService.wrapService(
CachingFilePath(config.DocumentRoot), mainService,
- connectionFactory, attachmentsRoot,
+ # FIXME: somehow, this should be a connection pool too, not
+ # unpooled connections; this only runs in the master
+ # process, so this would be a good point to bootstrap that
+ # whole process.
+ pgserv.produceLocalTransaction, attachmentsRoot,
uid=postgresUID, gid=postgresGID
)
if os.getuid() == 0: # Only override if root
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20101101/b9cbf283/attachment.html>
More information about the calendarserver-changes
mailing list