[CalendarServer-changes] [6295] CalendarServer/trunk/calendarserver/tap/caldav.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 15 12:47:09 PDT 2010
Revision: 6295
http://trac.macosforge.org/projects/calendarserver/changeset/6295
Author: cdaboo at apple.com
Date: 2010-09-15 12:47:08 -0700 (Wed, 15 Sep 2010)
Log Message:
-----------
Need data upgrade in Single process mode.
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/tap/caldav.py
Modified: CalendarServer/trunk/calendarserver/tap/caldav.py
===================================================================
--- CalendarServer/trunk/calendarserver/tap/caldav.py 2010-09-15 13:59:49 UTC (rev 6294)
+++ CalendarServer/trunk/calendarserver/tap/caldav.py 2010-09-15 19:47:08 UTC (rev 6295)
@@ -675,6 +675,12 @@
Create a service to be used in a single-process, stand-alone
configuration.
"""
+ # Schedule any on disk upgrades we might need. Note that this
+ # will only do the filesystem-format upgrades; migration to the
+ # database needs to be done when the connection and possibly
+ # server is already up and running. -glyph
+ addSystemEventTrigger("before", "startup", upgradeData, config)
+
return self.storageService(self.makeService_Slave(options))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100915/48a5d1fb/attachment.html>
More information about the calendarserver-changes
mailing list